Is there a way to access a global JavaScript variable in a Angular expression? such as:
ng-disabled="{someJavascriptVariableHere}"
Is there a way to access a global JavaScript variable in a Angular expression? such as:
|
|||
|
Angular expressions will look only for variables on the $scope, but if you do something like this in your controller:
then you can access it. |
|||||
|