This repository was archived by the owner on Apr 4, 2025. It is now read-only.
This repository was archived by the owner on Apr 4, 2025. It is now read-only.
Angular hints events doesn't work #75
Closed
Description
I've used the code sample from the docs:
var myApp = angular.module('myApp', []);
myApp.controller('myCtrl', ['$scope', function ($scope) {
$scope.count = 0;
$scope.divideValue;
$scope.increment = function () {
++$scope.count
};
$scope.dividend = function () {
return Math.random() * 20 + 20
};
$scope.divisor = function () {
return Math.random() * 10 + 1
};
}]);
div ng-controller="myCtrl"
a ng-click="increments">Count!
a ng-click="divideVal = dividend() / divide()">Count!
/div>
There is no hint warning in the controller.
Metadata
Metadata
Assignees
Labels
No labels