angular.element returning jQuery or jqLite
jQuery is not loaded here, so it will return the relevant error in a console as jqLite does not support CSS-like selectors
HTML
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script>
<div ng-app="MyApp">
<div ng-controller="MyCtrl">
<div id="msg"></div>
<div class="niud">
</div>
</div>
</div>
JavaScript
angular.module('MyApp', [])
.controller('MyCtrl', [{
angular.element('.niud').text('xxx');
}]);