I have this code, and I am sending an alert, but what is inside $ scope does not work. Why will it be?
angular.module('myApp', []).controller('Ctrl', WineCtrl, ['$scope', function($scope){
alert()
}]);
function WineCtrl() {
var s...
asked by
11.10.2018 / 23:48