$stateChangeStart > $stateChangeSuccess > controller is loaded > $ionicView.beforeEnter > $ionicView.enter > $ionicView.afterEnter
compileis used for transforming template,linkis used after template is cloned- If
compileis existing,linkis not effect (be not called)- If
compilereturn object, order of functions are called:compile > controller > pre > post - If
compilereturn function (post-link), is equivalent tolinkfunction, order of functions are called:compile > controller > post
- If
- If
compileis ommitted,controller > link
| ALgorithm | Length (bytes, characters) |
|---|---|
| MD5 | 32 |
| SHA1 | 40 |
| SHA256 | 64 |
| SHA512 | 128 |
For the visual learners like myself....
this:
<div ng-messages="requestForm.email.$error" ng-messages-include="form-messages"></div>now needs to be:
$scope.content = "<b>bold</b> text";- With
<div>{{content}}</div>
will output text content
- You want to create a login form, you need get username & password from html inputs when user click login button, code should like that
<!-- html code, view-->
<div class="list">
<label class="item item-input">
<input type="text" placeholder="Username" ng-model="user.username">
</label>
<label class="item item-input">
<input type="password" placeholder="Password" ng-model="user.password">Because wordpress call wp_magic_quotes() to add slashes before we use $_POST or $_GET ($_REQUEST), so if you save data from $_POST or $_GET ($_REQUEST) in wordpress,
- single value, do
$username = stripslashes($_POST['username'])- or all of values, do
$_POST = stripslashes_deep($_POST);