Skip to content

Instantly share code, notes, and snippets.

@chrisgilmerproj
Created April 28, 2014 17:09
Show Gist options
  • Save chrisgilmerproj/11378074 to your computer and use it in GitHub Desktop.
Save chrisgilmerproj/11378074 to your computer and use it in GitHub Desktop.
Angularjs UI modal question
<div class="input-group">
<input type="text" class="form-control" placeholder="Search" ng-model='query'>
<span class="input-group-btn">
<button type="button" class="btn btn-info" ng-click="search()">Search</button>
</span>
</div>
$scope.search = function () {
console.log($scope.query);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment