Last active
September 5, 2015 23:50
-
-
Save tkc/db5fcca1ace2b676f00e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// register controller in html | |
<div data-ng-controller="myCtrl" data-ng-init="init()"></div> | |
// in controller | |
$scope.init = function () { | |
// check if there is query in url | |
// and fire search in case its value is not empty | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment