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
{{ message }}
This repository was archived by the owner on Oct 2, 2019. It is now read-only.
To prevent cluttering the $scope and accidentally conflicting with user-specified $scope data, I recommend we namespace all the scope methods and values.
For instance, instead of doing $scope.up() we should probably use a $select namespace and do $scope.$select.up(), and so forth along this pattern. This $select object can also then be used to hold the state of the widget.
The text was updated successfully, but these errors were encountered:
Yes, better. Also I was thinking of losing dependency to ui-utils/ui-keypress and we can simplify template and just do the bindings to these methods at the directive's link fn.
To prevent cluttering the
$scope
and accidentally conflicting with user-specified$scope
data, I recommend we namespace all the scope methods and values.For instance, instead of doing
$scope.up()
we should probably use a$select
namespace and do$scope.$select.up()
, and so forth along this pattern. This$select
object can also then be used to hold the state of the widget.The text was updated successfully, but these errors were encountered: