New in Angular 1.3 - bindToController

Share this video with your friends

Send Tweet

If you are using the "controller as" syntax, and you should be using the "controller as" syntax, you will want it to be consistent in your Angular state modules as well as your Angular component directives. With the bindToController property on the directive definition object, this is easy to accomplish.

Greg
Greg
~ 10 years ago

nice snippet!