You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is better and convenient stuff, use when you need it.
Not support $injector at this moment, use filter
$http/Backend Validation
Although we can easily setup setExpression and angular-validation support $q for the validation
But in the case doing backend validation, it's a plus if we can use $http inside the setExpression which used in config phase (we are not able to inject $http in config)
Situational
✓ Compilation
Able to use filter and directive in the html
But this $compile will make the application more heavier.
✘ angular-translate
This is better and convenient stuff, use when you need it.
$http/Backend Validation
Although we can easily setup setExpression and angular-validation support $q for the validation
But in the case doing backend validation, it's a plus if we can use $http inside the setExpression which used in config phase (we are not able to inject $http in config)
Fix it
Conlusion
We need to cover all the situations to provide more async/advanced validation.
The text was updated successfully, but these errors were encountered: