blob: 8127209385988c166e59408cf89c98c644eb0d71 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
 | 'use strict';
describe('$rootElement', function() {
  it('should publish the bootstrap element into $rootElement', function() {
    var element = jqLite('<div></div>');
    var injector = angular.bootstrap(element);
    expect(injector.get('$rootElement')[0]).toBe(element[0]);
    dealoc(element);
  });
});
 |