[Solved] what mistake have i done here in angularjs?
You might have posted partial code, according to your comments your controller should be like below. DEMO var demoapp = angular.module(“myApp”,[]); demoapp.controller(“ulCtrl”,function($scope){ $scope.customers = “CUSTOMERSSS” ; }); <!doctype html> <html ng-app=”myApp”> <head> <script src=”https://ajax.googleapis.com/ajax/libs/angularjs/1.4.4/angular.js”></script> </head> <body> <div ng-controller=”ulCtrl” style=”padding: 40px;”> <li ng-controller=”ulCtrl”><a ng- href=”” class =”active” >{{customers}}</a></li> <li><a ng-href=”#JOBS”>JOBS</a></li> <li><a ng-href=”#ESTIMATES” >ESTIMATES</a></li> <li><a ng-href=”#INVOICE” >INVOICE</a></li> … Read more