Closed samithaf closed 8 years ago
Cool! The only thing that I don't like in $componentController
is amount of boilerplate. Maybe it is possible to hide it somehow?
p.s. Also not sure about uiRouter beta release... but I also use it and everything seems to be ok.
@fesor In the very first look you feel like, there is lot of boilerplate goes on. However I believe it's all for good reason. Specially when you want to test a component with bindings and other dependancies like a service, it's very easy to unit test. Also I have added some additional unit tests for router as well.
I started using uiRouter alpha release at work sometime back and I have a very good size team as well. Also recently upgraded to beta version and so far no issues. So I believe that beta release is good enough.
The change in .gitignore I have revert it back.
Cheers.
@samithaf thanks again!
p.s. maybe we can hide boilerplate in some helper function but I'm not sure.
Good work, but I think it would have been better to have completed this PR by updating ALL files..the generator template/hero files are still using the old style... looks a bit messy. I"ll try to get this done today
Added PR #165
Changes: