Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="clearfix" ng-controller="Controller">
- <h1>Active Ideas
- <button type="button" ng-click="search()">get Ideas</button></h1>
- <hr>
- function Controller($scope, $http) {
- $scope.search = function(){...
- $scope.$on('$viewContentLoaded', function() {
- function Controller($scope, $http) {
- $scope.search = function(){...};
- $scope.search();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement