slush-marklogic-node icon indicating copy to clipboard operation
slush-marklogic-node copied to clipboard

forward-compatibility with angular 2

Open joemfb opened this issue 8 years ago • 3 comments

we should start porting directives to components (including the "Community Add-ons"), for forward-compatibility with angular 2. The angular-component polyfill brings support back to angular 1.3.

joemfb avatar Jun 09 '16 21:06 joemfb

https://github.com/toddmotto/angular-styleguide has a lot of good info for this!

Audarth avatar Jun 14 '16 04:06 Audarth

We could take the opportunity to improve the code base a little further in general. Some controllers are interacting with the backend in a fairly direct way. Would be nice if we would go through services for that. So in create and detail ctrl you'd do something like docManager.create and docManager.get, instead of making calls to mlRest directly..

grtjn avatar Jun 14 '16 12:06 grtjn

I like the angular-styleguide. It would be good though if we could find a tool that could validate those guidelines to both help the transition, and to make sure we keep conforming in future..

grtjn avatar Jun 25 '16 18:06 grtjn