Javascript-форум (https://javascript.ru/forum/)
-   Серверные языки и технологии (https://javascript.ru/forum/server/)
-   -   Не могу найти ошибку. помогите плиз (https://javascript.ru/forum/server/65569-ne-mogu-najjti-oshibku-pomogite-pliz.html)

uuusseerr 26.10.2016 10:39

Не могу найти ошибку. помогите плиз
 
Не могу найти ошибку. помогите плиз.
<!DOCTYPE html>
<html ng-app="helloWorldApp">
<head>

<title>Angular</title>

<script>
var model = "Hello word";

var helloWorldApp = angular.module("helloWorldApp", []);

helloWorldApp.controller("HelloWorldCtrl", function($scope) {
$scope.message = model;

$scope.clickHandler - function() {
$scope.message = $scope.text;
}

});

</script>

</head>
<body ng-controller="HelloWorldCtrl">

<h1>{{message}}</h1>
<input ng-model="text" />
<button ng-click="clickHandler()">New</button>


<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="js/bootstrap.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular.min.js"></script>

</body>
</html>

uuusseerr 26.10.2016 10:44

нашел спустя 2 часа :)


Часовой пояс GMT +3, время: 06:52.