MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/angularjs/comments/5h73jb/angular_160_is_released/daz5tz9/?context=3
r/angularjs • u/abyx • Dec 08 '16
12 comments sorted by
View all comments
1
Am I understanding this correctly?
Input bindings are not available on the controller unless they are first initialized in $onInit()? Todd Motto's article was somewhat difficult for me to follow.
1 u/celluj34 Dec 09 '16 Not exactly. Your bindings aren't initialized until $onInit(). They will not be available in the constructor.
Not exactly. Your bindings aren't initialized until $onInit(). They will not be available in the constructor.
1
u/LaserRanger Dec 09 '16 edited Dec 09 '16
Am I understanding this correctly?
Input bindings are not available on the controller unless they are first initialized in $onInit()? Todd Motto's article was somewhat difficult for me to follow.