I am unable to set a default value to ng-model=\"searchText\". Here is the code I am using <
1st Solution: is to simply init the searchText in the controller.
App.controller('mainController',['$scope', function($scope) { $scope.searchText = "can you see me"; }]);
2nd Solution: is to use ng-init insteat of value