angular/angular.js

View on GitHub
docs/content/error/jqLite/nosel.ngdoc

Summary

Maintainability
Test Coverage
@ngdoc error
@name jqLite:nosel
@fullName Unsupported Selector Lookup
@description

In order to keep AngularJS small, AngularJS implements only a subset of the selectors in {@link angular.element#angularjs-s-jqlite jqLite}.
This error occurs when a jqLite instance is invoked with a selector other than this subset.

In order to resolve this error, rewrite your code to only use tag name selectors and manually traverse the DOM using the APIs provided by jqLite.

Alternatively, you can include a full version of jQuery, which AngularJS will automatically use and that will make all selectors available.