angular java script shows in browser.i tried all possible ways but still sucks
var myApp=angular.module("mod",[]);
myApp.controller("con", function($scope){
$scope.message = "hhhhhhhh";
});
<html ng-app="mod">
<head>
<script src="bower_components/angular/angular.js"></script>
<script type="sample.js"></script>
</head>
<body ng-controller="con">
<div>
</div>
</body>
</html>
via imran
No comments:
Post a Comment