There is clearly something fundamental im not yet understanding.
Im trying to make user of the Modal module in Angular Ui.Bootstrap but im finding that my clicks are
For that to work, you have to define alert on your $scope:
$scope.alert = function(text) {
alert(text);
};
Relevant piece from documentation:
AngularJS restricts access to the Window object from within expressions since it's a known way to execute arbitrary Javascript code.
https://docs.angularjs.org/error/$parse/isecwindow