You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3. Any initialization logic should be moved out of link functions and into $onInit functions
34
34
4. Any event listeners that are added for $window or $timeout events should be cleaned up in $onDestroy
35
-
5. $scope watchers should be moved to $onChanges
35
+
5. $scope watchers should be moved to $onChanges for bound properties (defined in bindings object)
36
36
6. If DOM manipulation still must happen, there is a $postLink function. A bit more investigation will be necessary to see if these components can be upgraded to Angular 2.
0 commit comments