Not getting I am creating one js file but how to integrate that file in my html and I dont have app.js file too …
I have included script also but nothing
Please put yourself in the position of somebody trying to help you. What information would you want?
in html I kept like this …
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script>
<script src="home.js"></script>
<ion-content padding class="ion-content-data" ng-controller="MainCtrl" ng-app="app">
in js
angular.module("app",[])
.controller('MainCtrl',function($scope,$operations)
{
console.log("print");
})
console msg not getting print