Invoke $scope function from the browser console
angular.element(document.querySelector('#someID')).scope().someFunction();
angular.element($0).scope().someFunction();
This Bootstrap theme is an easy way to use the new Material Design
guidelines by Google in your Bootstrap 3 based application.
Just include the theme right after the Bootstrap CSS and include the
javascript at the end of your document, everything will be converted to
Material Design (paper) style
چند روش استفاده از ng-class در anuglarjs بررسی میکند
String syntax
<div ng-class="textType">Look! I'm Words!</div>
<div ng-class="[styleOne, styleTwo]">Look! I'm Words!</div>
<div ng-class="{ 'text-success': awesome, 'text-large': giant }">
ng-class="$even ? 'even-row' : 'odd-row'">