I'm using a very basic Angular data initialization instead of a controller. There's also a repeat to fill the list for the dropdown. I'm reading that initialization is rarely used but my needs are so basic that I'm wondering if I really need a controller.
Here's some of the code:
Expand|Select|Wrap|Line Numbers
- section.header-nav(ng-app="" ng-init="loginlist=['Login','Sign Up']")
- #[button.login-button(type='button') Login #[ul #[li(ng-repeat="x in loginlist") #[{{ x }}]]]]
Basically, I'm wondering if there's some functionality I might be missing by not using a controller.