├── docs
├── content
│ ├── notes
│ │ └── empty.tmp
│ ├── error
│ │ ├── animate
│ │ │ └── notcsel.ngdoc
│ │ ├── interpolate
│ │ │ ├── interr.ngdoc
│ │ │ └── noconcat.ngdoc
│ │ ├── jqLite
│ │ │ ├── offargs.ngdoc
│ │ │ ├── onargs.ngdoc
│ │ │ └── nosel.ngdoc
│ │ ├── sce
│ │ │ ├── itype.ngdoc
│ │ │ ├── icontext.ngdoc
│ │ │ ├── imatcher.ngdoc
│ │ │ ├── iwcard.ngdoc
│ │ │ ├── unsafe.ngdoc
│ │ │ ├── iequirks.ngdoc
│ │ │ └── insecurl.ngdoc
│ │ ├── ng
│ │ │ ├── areq.ngdoc
│ │ │ ├── badname.ngdoc
│ │ │ ├── cpi.ngdoc
│ │ │ ├── cpws.ngdoc
│ │ │ └── btstrpd.ngdoc
│ │ ├── cacheFactory
│ │ │ └── iid.ngdoc
│ │ ├── resource
│ │ │ ├── badname.ngdoc
│ │ │ ├── badargs.ngdoc
│ │ │ ├── badcfg.ngdoc
│ │ │ └── badmember.ngdoc
│ │ ├── ngPattern
│ │ │ └── noregexp.ngdoc
│ │ ├── parse
│ │ │ ├── lexerr.ngdoc
│ │ │ ├── ueoe.ngdoc
│ │ │ ├── isecfn.ngdoc
│ │ │ ├── syntax.ngdoc
│ │ │ ├── isecfld.ngdoc
│ │ │ ├── isecdom.ngdoc
│ │ │ └── isecwindow.ngdoc
│ │ ├── location
│ │ │ ├── isrcharg.ngdoc
│ │ │ ├── ipthprfx.ngdoc
│ │ │ └── ihshprfx.ngdoc
│ │ ├── injector
│ │ │ ├── modulerr.ngdoc
│ │ │ ├── pget.ngdoc
│ │ │ ├── unpr.ngdoc
│ │ │ ├── cdep.ngdoc
│ │ │ ├── itkn.ngdoc
│ │ │ └── nomod.ngdoc
│ │ ├── ngOptions
│ │ │ └── iexp.ngdoc
│ │ ├── index.ngdoc
│ │ ├── sanitize
│ │ │ └── badparse.ngdoc
│ │ ├── ngTransclude
│ │ │ └── orphan.ngdoc
│ │ ├── compile
│ │ │ ├── tpload.ngdoc
│ │ │ ├── multidir.ngdoc
│ │ │ ├── iscp.ngdoc
│ │ │ ├── nodomevents.ngdoc
│ │ │ ├── selmulti.ngdoc
│ │ │ ├── uterdir.ngdoc
│ │ │ ├── nonassign.ngdoc
│ │ │ ├── tplrt.ngdoc
│ │ │ └── ctreq.ngdoc
│ │ ├── controller
│ │ │ └── noscp.ngdoc
│ │ ├── ngRepeat
│ │ │ ├── iexp.ngdoc
│ │ │ ├── iidexp.ngdoc
│ │ │ └── dupes.ngdoc
│ │ ├── rootScope
│ │ │ └── infdig.ngdoc
│ │ └── ngModel
│ │ │ └── nonassign.ngdoc
│ ├── api
│ │ └── ng.ngdoc
│ ├── guide
│ │ ├── dev_guide.services.ngdoc
│ │ ├── dev_guide.templates.css-styling.ngdoc
│ │ └── dev_guide.services.testing_services.ngdoc
│ ├── tutorial
│ │ ├── the_end.ngdoc
│ │ └── step_01.ngdoc
│ └── cookbook
│ │ └── helloworld.ngdoc
├── img
│ ├── bullet.png
│ ├── helloworld.png
│ ├── AngularJS-small.png
│ ├── angular_parts.png
│ ├── form_data_flow.png
│ ├── helloworld_2way.png
│ ├── One_Way_Data_Binding.png
│ ├── Two_Way_Data_Binding.png
│ ├── glyphicons-halflings.png
│ ├── guide
│ │ ├── concepts-scope.png
│ │ ├── concepts-view.png
│ │ ├── concepts-runtime.png
│ │ ├── concepts-startup.png
│ │ ├── dom_scope_final.png
│ │ ├── scenario_runner.png
│ │ ├── concepts-directive.png
│ │ ├── di_sequence_final.png
│ │ ├── simple_scope_final.png
│ │ ├── concepts-databinding1.png
│ │ ├── concepts-databinding2.png
│ │ ├── concepts-module-injector.png
│ │ ├── concepts-module-service.png
│ │ └── hashbang_vs_regular_url.jpg
│ ├── tutorial
│ │ ├── tutorial_00.png
│ │ ├── tutorial_02.png
│ │ ├── tutorial_03.png
│ │ ├── tutorial_04.png
│ │ ├── catalog_screen.png
│ │ ├── tutorial_00_final.png
│ │ ├── tutorial_07_final.png
│ │ ├── xhr_service_final.png
│ │ ├── tutorial_08-09_final.png
│ │ └── tutorial_10-11_final.png
│ └── glyphicons-halflings-white.png
├── src
│ ├── templates
│ │ ├── favicon.ico
│ │ ├── offline.html
│ │ ├── .htaccess
│ │ ├── docs-scenario.html
│ │ └── css
│ │ │ ├── animations.css
│ │ │ └── prettify.css
│ └── SiteMap.js
├── spec
│ ├── sitemapSpec.js
│ ├── specs.js
│ └── sourceLinkSpec.js
└── component-spec
│ ├── versionJumpSpec.js
│ ├── mocks.js
│ └── syntaxSpec.js
├── logs
└── .gitignore
├── example
├── view1.html
├── view2.html
├── index.html
├── personalLog
│ ├── scenario
│ │ └── runner.html
│ └── personalLog.html
├── temp.html
├── tweeter
│ ├── tweeterclient.js
│ ├── style.css
│ └── tweeter_demo.html
└── buzz
│ └── buzz.js
├── src
├── module.suffix
├── publishExternalApis.js
├── ng
│ ├── directive
│ │ ├── style.js
│ │ ├── directives.js
│ │ ├── ngNonBindable.js
│ │ ├── a.js
│ │ ├── ngStyle.js
│ │ ├── ngCsp.js
│ │ └── ngInit.js
│ ├── document.js
│ ├── rootElement.js
│ ├── exceptionHandler.js
│ └── window.js
├── loader.prefix
├── module.prefix
├── angular.prefix
├── ngScenario
│ ├── angular.prefix
│ ├── output
│ │ ├── Object.js
│ │ ├── Json.js
│ │ └── Xml.js
│ ├── angular.suffix
│ ├── .jshintrc
│ ├── matchers.js
│ └── Future.js
├── angular.suffix
├── ngCookies
│ └── .jshintrc
├── ngResource
│ └── .jshintrc
├── ngTouch
│ ├── .jshintrc
│ └── touch.js
├── ngRoute
│ ├── .jshintrc
│ └── routeParams.js
├── ngSanitize
│ └── .jshintrc
├── ngAnimate
│ └── .jshintrc
├── ngMock
│ └── .jshintrc
├── loader.suffix
├── ngLocale
│ └── .jshintrc
└── apis.js
├── lib
├── browser-stack
│ ├── start-tunnel.sh
│ └── start-tunnel.js
├── promises-aplus
│ └── promises-aplus-test-adapter.js
└── sauce
│ └── sauce_connect_setup.sh
├── .bowerrc
├── images
├── favicon.ico
├── css
│ ├── arrow_left.gif
│ ├── arrow_right.gif
│ └── indicator-wait.png
├── docs
│ ├── Diagrams.graffle
│ │ ├── image1.png
│ │ ├── image2.png
│ │ ├── image4.png
│ │ ├── image8.png
│ │ ├── image9.png
│ │ └── QuickLook
│ │ │ ├── Preview.pdf
│ │ │ └── Thumbnail.tiff
│ ├── guide
│ │ ├── concepts.graffle
│ │ │ ├── image1.png
│ │ │ ├── image4.png
│ │ │ └── image5.png
│ │ └── simple_scope.graffle
│ │ │ ├── image7.png
│ │ │ └── QuickLook
│ │ │ ├── Preview.pdf
│ │ │ └── Thumbnail.tiff
│ └── tutorial
│ │ ├── simple_scope.graffle
│ │ ├── image7.png
│ │ └── QuickLook
│ │ │ ├── Preview.pdf
│ │ │ └── Thumbnail.tiff
│ │ ├── tutorial_02.graffle
│ │ ├── image11.png
│ │ └── QuickLook
│ │ │ ├── Preview.pdf
│ │ │ └── Thumbnail.tiff
│ │ ├── tutorial_03.graffle
│ │ ├── image13.png
│ │ └── QuickLook
│ │ │ ├── Preview.pdf
│ │ │ └── Thumbnail.tiff
│ │ ├── tutorial_04.graffle
│ │ ├── image15.png
│ │ └── QuickLook
│ │ │ ├── Preview.pdf
│ │ │ └── Thumbnail.tiff
│ │ ├── tutorial_07.graffle
│ │ ├── image9.png
│ │ └── QuickLook
│ │ │ ├── Preview.pdf
│ │ │ └── Thumbnail.tiff
│ │ ├── tutorial_08-09.graffle
│ │ ├── image10.png
│ │ └── QuickLook
│ │ │ ├── Preview.pdf
│ │ │ └── Thumbnail.tiff
│ │ ├── tutorial_10-11.graffle
│ │ ├── image10.png
│ │ └── QuickLook
│ │ │ ├── Preview.pdf
│ │ │ └── Thumbnail.tiff
│ │ └── tutorial_proto.graffle
│ │ ├── image7.png
│ │ └── QuickLook
│ │ ├── Preview.pdf
│ │ └── Thumbnail.tiff
└── logo
│ ├── AngularJS.graffle
│ ├── data.plist
│ ├── image1.png
│ └── image2.png
│ ├── AngularJS.exports
│ ├── AngularJS.pdf
│ ├── AngularJS-huge.png
│ ├── AngularJS-large.png
│ ├── AngularJS-medium.png
│ └── AngularJS-small.png
│ └── AngularJS-Shield.exports
│ ├── AngularJS-Shield.pdf
│ ├── AngularJS-Shield-huge.png
│ ├── AngularJS-Shield-large.png
│ ├── AngularJS-Shield-small.png
│ └── AngularJS-Shield-medium.png
├── test
├── jquery_alias.js
├── jquery_remove.js
├── ngScenario
│ ├── e2e
│ │ ├── style.css
│ │ ├── Runner-compiled.html
│ │ └── Runner.html
│ ├── mocks.js
│ ├── output
│ │ ├── jsonSpec.js
│ │ ├── objectSpec.js
│ │ └── xmlSpec.js
│ ├── ScenarioSpec.js
│ └── matchersSpec.js
├── ng
│ ├── windowSpec.js
│ ├── documentSpec.js
│ ├── rootElementSpec.js
│ ├── directive
│ │ ├── ngSrcsetSpec.js
│ │ ├── ngClickSpec.js
│ │ ├── styleSpec.js
│ │ ├── ngEventDirsSpec.js
│ │ ├── scriptSpec.js
│ │ ├── ngInitSpec.js
│ │ ├── ngNonBindableSpec.js
│ │ └── ngCloakSpec.js
│ ├── exceptionHandlerSpec.js
│ ├── filter
│ │ └── orderBySpec.js
│ ├── filterSpec.js
│ ├── localeSpec.js
│ └── urlUtilsSpec.js
├── helpers
│ ├── privateMocks.js
│ └── privateMocksSpec.js
├── ApiSpecs.js
├── ngSanitize
│ ├── directive
│ │ └── ngBindHtmlSpec.js
│ └── filter
│ │ └── linkySpec.js
└── e2e
│ └── docsAppE2E.js
├── i18n
├── run-tests.sh
├── generate.sh
├── src
│ ├── util.js
│ └── parser.js
├── e2e
│ ├── runner.html
│ ├── localeTest_cs.html
│ ├── localeTest_de.html
│ ├── localeTest_es.html
│ ├── localeTest_sk.html
│ └── localeTest_zh.html
├── README.md
├── spec
│ └── utilSpec.js
└── update-closure.sh
├── check-size.sh
├── scripts
├── travis
│ ├── wait_for_browser_provider.sh
│ ├── print_logs.sh
│ └── build.sh
├── angular.js
│ ├── finalize-version.sh
│ ├── publish-cdn-version.sh
│ ├── initialize-new-version.sh
│ └── publish.sh
├── jenkins
│ ├── master.sh
│ ├── release-after-cdn.sh
│ └── release.sh
├── angular-seed
│ └── publish.sh
├── angular-phonecat
│ └── publish.sh
└── angularjs.org
│ └── publish.sh
├── css
└── angular.css
├── watchr-docs.rb
├── .gitignore
├── protractor-conf.js
├── karma-modules.conf.js
├── karma-jqlite.conf.js
├── bower.json
├── karma-jquery.conf.js
├── gen_docs.sh
├── init-repo.sh
├── karma-e2e.conf.js
├── closure
└── README.md
├── .travis.yml
├── LICENSE
├── karma-docs.conf.js
├── jenkins_build.sh
├── package.json
└── changelog.spec.js
/docs/content/notes/empty.tmp:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/logs/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | !.gitignore
3 |
--------------------------------------------------------------------------------
/example/view1.html:
--------------------------------------------------------------------------------
1 | view1
2 | location: {{url()}}
3 |
--------------------------------------------------------------------------------
/src/module.suffix:
--------------------------------------------------------------------------------
1 |
2 | })(window, window.angular);
3 |
--------------------------------------------------------------------------------
/example/view2.html:
--------------------------------------------------------------------------------
1 | view2
2 | location: {{url()}}
3 |
--------------------------------------------------------------------------------
/lib/browser-stack/start-tunnel.sh:
--------------------------------------------------------------------------------
1 | node ./lib/browser-stack/start-tunnel.js &
2 |
--------------------------------------------------------------------------------
/src/publishExternalApis.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | publishExternalAPI(angular);
4 |
--------------------------------------------------------------------------------
/.bowerrc:
--------------------------------------------------------------------------------
1 | {
2 | "directory": "bower_components",
3 | "json": "bower.json"
4 | }
5 |
--------------------------------------------------------------------------------
/images/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/favicon.ico
--------------------------------------------------------------------------------
/docs/img/bullet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/bullet.png
--------------------------------------------------------------------------------
/docs/img/helloworld.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/helloworld.png
--------------------------------------------------------------------------------
/test/jquery_alias.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var _jQuery = jQuery,
4 | _jqLiteMode = false;
5 |
--------------------------------------------------------------------------------
/images/css/arrow_left.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/css/arrow_left.gif
--------------------------------------------------------------------------------
/docs/img/AngularJS-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/AngularJS-small.png
--------------------------------------------------------------------------------
/docs/img/angular_parts.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/angular_parts.png
--------------------------------------------------------------------------------
/docs/img/form_data_flow.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/form_data_flow.png
--------------------------------------------------------------------------------
/docs/img/helloworld_2way.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/helloworld_2way.png
--------------------------------------------------------------------------------
/images/css/arrow_right.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/css/arrow_right.gif
--------------------------------------------------------------------------------
/docs/src/templates/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/src/templates/favicon.ico
--------------------------------------------------------------------------------
/images/css/indicator-wait.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/css/indicator-wait.png
--------------------------------------------------------------------------------
/docs/img/One_Way_Data_Binding.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/One_Way_Data_Binding.png
--------------------------------------------------------------------------------
/docs/img/Two_Way_Data_Binding.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/Two_Way_Data_Binding.png
--------------------------------------------------------------------------------
/docs/img/glyphicons-halflings.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/glyphicons-halflings.png
--------------------------------------------------------------------------------
/docs/img/guide/concepts-scope.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/guide/concepts-scope.png
--------------------------------------------------------------------------------
/docs/img/guide/concepts-view.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/guide/concepts-view.png
--------------------------------------------------------------------------------
/docs/img/tutorial/tutorial_00.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/tutorial/tutorial_00.png
--------------------------------------------------------------------------------
/docs/img/tutorial/tutorial_02.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/tutorial/tutorial_02.png
--------------------------------------------------------------------------------
/docs/img/tutorial/tutorial_03.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/tutorial/tutorial_03.png
--------------------------------------------------------------------------------
/docs/img/tutorial/tutorial_04.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/tutorial/tutorial_04.png
--------------------------------------------------------------------------------
/test/jquery_remove.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var _jQuery = jQuery.noConflict(true),
4 | _jqLiteMode = true;
5 |
--------------------------------------------------------------------------------
/docs/img/guide/concepts-runtime.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/guide/concepts-runtime.png
--------------------------------------------------------------------------------
/docs/img/guide/concepts-startup.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/guide/concepts-startup.png
--------------------------------------------------------------------------------
/docs/img/guide/dom_scope_final.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/guide/dom_scope_final.png
--------------------------------------------------------------------------------
/docs/img/guide/scenario_runner.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/guide/scenario_runner.png
--------------------------------------------------------------------------------
/i18n/run-tests.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | set -e
4 | PARENT_DIR="$(dirname "$0")"
5 | jasmine-node "$PARENT_DIR"/spec/
6 |
--------------------------------------------------------------------------------
/docs/img/guide/concepts-directive.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/guide/concepts-directive.png
--------------------------------------------------------------------------------
/docs/img/guide/di_sequence_final.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/guide/di_sequence_final.png
--------------------------------------------------------------------------------
/docs/img/guide/simple_scope_final.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/guide/simple_scope_final.png
--------------------------------------------------------------------------------
/docs/img/tutorial/catalog_screen.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/tutorial/catalog_screen.png
--------------------------------------------------------------------------------
/docs/img/glyphicons-halflings-white.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/glyphicons-halflings-white.png
--------------------------------------------------------------------------------
/docs/img/guide/concepts-databinding1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/guide/concepts-databinding1.png
--------------------------------------------------------------------------------
/docs/img/guide/concepts-databinding2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/guide/concepts-databinding2.png
--------------------------------------------------------------------------------
/docs/img/tutorial/tutorial_00_final.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/tutorial/tutorial_00_final.png
--------------------------------------------------------------------------------
/docs/img/tutorial/tutorial_07_final.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/tutorial/tutorial_07_final.png
--------------------------------------------------------------------------------
/docs/img/tutorial/xhr_service_final.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/tutorial/xhr_service_final.png
--------------------------------------------------------------------------------
/images/docs/Diagrams.graffle/image1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/Diagrams.graffle/image1.png
--------------------------------------------------------------------------------
/images/docs/Diagrams.graffle/image2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/Diagrams.graffle/image2.png
--------------------------------------------------------------------------------
/images/docs/Diagrams.graffle/image4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/Diagrams.graffle/image4.png
--------------------------------------------------------------------------------
/images/docs/Diagrams.graffle/image8.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/Diagrams.graffle/image8.png
--------------------------------------------------------------------------------
/images/docs/Diagrams.graffle/image9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/Diagrams.graffle/image9.png
--------------------------------------------------------------------------------
/images/logo/AngularJS.graffle/data.plist:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/logo/AngularJS.graffle/data.plist
--------------------------------------------------------------------------------
/images/logo/AngularJS.graffle/image1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/logo/AngularJS.graffle/image1.png
--------------------------------------------------------------------------------
/images/logo/AngularJS.graffle/image2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/logo/AngularJS.graffle/image2.png
--------------------------------------------------------------------------------
/src/ng/directive/style.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | var styleDirective = valueFn({
4 | restrict: 'E',
5 | terminal: true
6 | });
7 |
--------------------------------------------------------------------------------
/docs/img/guide/concepts-module-injector.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/guide/concepts-module-injector.png
--------------------------------------------------------------------------------
/docs/img/guide/concepts-module-service.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/guide/concepts-module-service.png
--------------------------------------------------------------------------------
/docs/img/guide/hashbang_vs_regular_url.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/guide/hashbang_vs_regular_url.jpg
--------------------------------------------------------------------------------
/docs/img/tutorial/tutorial_08-09_final.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/tutorial/tutorial_08-09_final.png
--------------------------------------------------------------------------------
/docs/img/tutorial/tutorial_10-11_final.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/docs/img/tutorial/tutorial_10-11_final.png
--------------------------------------------------------------------------------
/images/logo/AngularJS.exports/AngularJS.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/logo/AngularJS.exports/AngularJS.pdf
--------------------------------------------------------------------------------
/images/docs/guide/concepts.graffle/image1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/guide/concepts.graffle/image1.png
--------------------------------------------------------------------------------
/images/docs/guide/concepts.graffle/image4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/guide/concepts.graffle/image4.png
--------------------------------------------------------------------------------
/images/docs/guide/concepts.graffle/image5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/guide/concepts.graffle/image5.png
--------------------------------------------------------------------------------
/check-size.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | grunt minify
4 | gzip -c < build/angular.min.js > build/angular.min.js.gzip
5 | ls -l build/angular.min.*
6 |
--------------------------------------------------------------------------------
/images/logo/AngularJS.exports/AngularJS-huge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/logo/AngularJS.exports/AngularJS-huge.png
--------------------------------------------------------------------------------
/images/docs/Diagrams.graffle/QuickLook/Preview.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/Diagrams.graffle/QuickLook/Preview.pdf
--------------------------------------------------------------------------------
/images/docs/guide/simple_scope.graffle/image7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/guide/simple_scope.graffle/image7.png
--------------------------------------------------------------------------------
/images/logo/AngularJS.exports/AngularJS-large.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/logo/AngularJS.exports/AngularJS-large.png
--------------------------------------------------------------------------------
/images/logo/AngularJS.exports/AngularJS-medium.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/logo/AngularJS.exports/AngularJS-medium.png
--------------------------------------------------------------------------------
/images/logo/AngularJS.exports/AngularJS-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/logo/AngularJS.exports/AngularJS-small.png
--------------------------------------------------------------------------------
/images/docs/Diagrams.graffle/QuickLook/Thumbnail.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/Diagrams.graffle/QuickLook/Thumbnail.tiff
--------------------------------------------------------------------------------
/images/docs/tutorial/simple_scope.graffle/image7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/tutorial/simple_scope.graffle/image7.png
--------------------------------------------------------------------------------
/images/docs/tutorial/tutorial_02.graffle/image11.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/tutorial/tutorial_02.graffle/image11.png
--------------------------------------------------------------------------------
/images/docs/tutorial/tutorial_03.graffle/image13.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/tutorial/tutorial_03.graffle/image13.png
--------------------------------------------------------------------------------
/images/docs/tutorial/tutorial_04.graffle/image15.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/tutorial/tutorial_04.graffle/image15.png
--------------------------------------------------------------------------------
/images/docs/tutorial/tutorial_07.graffle/image9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/tutorial/tutorial_07.graffle/image9.png
--------------------------------------------------------------------------------
/images/docs/tutorial/tutorial_08-09.graffle/image10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/tutorial/tutorial_08-09.graffle/image10.png
--------------------------------------------------------------------------------
/images/docs/tutorial/tutorial_10-11.graffle/image10.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/tutorial/tutorial_10-11.graffle/image10.png
--------------------------------------------------------------------------------
/images/docs/tutorial/tutorial_proto.graffle/image7.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/tutorial/tutorial_proto.graffle/image7.png
--------------------------------------------------------------------------------
/images/logo/AngularJS-Shield.exports/AngularJS-Shield.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/logo/AngularJS-Shield.exports/AngularJS-Shield.pdf
--------------------------------------------------------------------------------
/images/docs/guide/simple_scope.graffle/QuickLook/Preview.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/guide/simple_scope.graffle/QuickLook/Preview.pdf
--------------------------------------------------------------------------------
/i18n/generate.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | BASE_DIR=`dirname $0`
4 | cd $BASE_DIR
5 |
6 |
7 | ../node_modules/.bin/jasmine-node spec/ --noColor && node src/closureSlurper.js
8 |
--------------------------------------------------------------------------------
/images/docs/guide/simple_scope.graffle/QuickLook/Thumbnail.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/guide/simple_scope.graffle/QuickLook/Thumbnail.tiff
--------------------------------------------------------------------------------
/images/docs/tutorial/simple_scope.graffle/QuickLook/Preview.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/tutorial/simple_scope.graffle/QuickLook/Preview.pdf
--------------------------------------------------------------------------------
/images/docs/tutorial/tutorial_02.graffle/QuickLook/Preview.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/tutorial/tutorial_02.graffle/QuickLook/Preview.pdf
--------------------------------------------------------------------------------
/images/docs/tutorial/tutorial_03.graffle/QuickLook/Preview.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/tutorial/tutorial_03.graffle/QuickLook/Preview.pdf
--------------------------------------------------------------------------------
/images/docs/tutorial/tutorial_04.graffle/QuickLook/Preview.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/tutorial/tutorial_04.graffle/QuickLook/Preview.pdf
--------------------------------------------------------------------------------
/images/docs/tutorial/tutorial_07.graffle/QuickLook/Preview.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/tutorial/tutorial_07.graffle/QuickLook/Preview.pdf
--------------------------------------------------------------------------------
/images/logo/AngularJS-Shield.exports/AngularJS-Shield-huge.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/logo/AngularJS-Shield.exports/AngularJS-Shield-huge.png
--------------------------------------------------------------------------------
/images/logo/AngularJS-Shield.exports/AngularJS-Shield-large.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/logo/AngularJS-Shield.exports/AngularJS-Shield-large.png
--------------------------------------------------------------------------------
/images/logo/AngularJS-Shield.exports/AngularJS-Shield-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/logo/AngularJS-Shield.exports/AngularJS-Shield-small.png
--------------------------------------------------------------------------------
/images/docs/tutorial/tutorial_02.graffle/QuickLook/Thumbnail.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/tutorial/tutorial_02.graffle/QuickLook/Thumbnail.tiff
--------------------------------------------------------------------------------
/images/docs/tutorial/tutorial_03.graffle/QuickLook/Thumbnail.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/tutorial/tutorial_03.graffle/QuickLook/Thumbnail.tiff
--------------------------------------------------------------------------------
/images/docs/tutorial/tutorial_04.graffle/QuickLook/Thumbnail.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/tutorial/tutorial_04.graffle/QuickLook/Thumbnail.tiff
--------------------------------------------------------------------------------
/images/docs/tutorial/tutorial_07.graffle/QuickLook/Thumbnail.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/tutorial/tutorial_07.graffle/QuickLook/Thumbnail.tiff
--------------------------------------------------------------------------------
/images/docs/tutorial/tutorial_08-09.graffle/QuickLook/Preview.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/tutorial/tutorial_08-09.graffle/QuickLook/Preview.pdf
--------------------------------------------------------------------------------
/images/docs/tutorial/tutorial_10-11.graffle/QuickLook/Preview.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/tutorial/tutorial_10-11.graffle/QuickLook/Preview.pdf
--------------------------------------------------------------------------------
/images/docs/tutorial/tutorial_proto.graffle/QuickLook/Preview.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/tutorial/tutorial_proto.graffle/QuickLook/Preview.pdf
--------------------------------------------------------------------------------
/images/logo/AngularJS-Shield.exports/AngularJS-Shield-medium.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/logo/AngularJS-Shield.exports/AngularJS-Shield-medium.png
--------------------------------------------------------------------------------
/images/docs/tutorial/simple_scope.graffle/QuickLook/Thumbnail.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/tutorial/simple_scope.graffle/QuickLook/Thumbnail.tiff
--------------------------------------------------------------------------------
/images/docs/tutorial/tutorial_08-09.graffle/QuickLook/Thumbnail.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/tutorial/tutorial_08-09.graffle/QuickLook/Thumbnail.tiff
--------------------------------------------------------------------------------
/images/docs/tutorial/tutorial_10-11.graffle/QuickLook/Thumbnail.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/tutorial/tutorial_10-11.graffle/QuickLook/Thumbnail.tiff
--------------------------------------------------------------------------------
/images/docs/tutorial/tutorial_proto.graffle/QuickLook/Thumbnail.tiff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zog/angular.js/master/images/docs/tutorial/tutorial_proto.graffle/QuickLook/Thumbnail.tiff
--------------------------------------------------------------------------------
/test/ngScenario/e2e/style.css:
--------------------------------------------------------------------------------
1 | th {
2 | text-align: left;
3 | }
4 |
5 | tr {
6 | border: 1px solid black;
7 | }
8 |
9 | .redbox {
10 | background-color: red;
11 | }
12 |
--------------------------------------------------------------------------------
/docs/src/templates/offline.html:
--------------------------------------------------------------------------------
1 |
This page is currently unavailable because your are offline.
4 |Please connect to the Internet and reload the page.
5 | -------------------------------------------------------------------------------- /src/loader.prefix: -------------------------------------------------------------------------------- 1 | /** 2 | * @license AngularJS v"NG_VERSION_FULL" 3 | * (c) 2010-2014 Google, Inc. http://angularjs.org 4 | * License: MIT 5 | */ 6 | 'use strict'; 7 | (function() { 8 | -------------------------------------------------------------------------------- /scripts/travis/wait_for_browser_provider.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | 4 | # Wait for Connect to be ready before exiting 5 | while [ ! -f $BROWSER_PROVIDER_READY_FILE ]; do 6 | sleep .5 7 | done 8 | -------------------------------------------------------------------------------- /src/module.prefix: -------------------------------------------------------------------------------- 1 | /** 2 | * @license AngularJS v"NG_VERSION_FULL" 3 | * (c) 2010-2014 Google, Inc. http://angularjs.org 4 | * License: MIT 5 | */ 6 | (function(window, angular, undefined) { 7 | -------------------------------------------------------------------------------- /src/angular.prefix: -------------------------------------------------------------------------------- 1 | /** 2 | * @license AngularJS v"NG_VERSION_FULL" 3 | * (c) 2010-2014 Google, Inc. http://angularjs.org 4 | * License: MIT 5 | */ 6 | (function(window, document, undefined) { 7 | -------------------------------------------------------------------------------- /test/ng/windowSpec.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | describe('$window', function() { 4 | it("should inject $window", inject(function($window) { 5 | expect($window).toBe(window); 6 | })); 7 | }); 8 | -------------------------------------------------------------------------------- /css/angular.css: -------------------------------------------------------------------------------- 1 | @charset "UTF-8"; 2 | 3 | [ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], 4 | .ng-cloak, .x-ng-cloak, 5 | .ng-hide { 6 | display: none !important; 7 | } 8 | 9 | ng\:form { 10 | display: block; 11 | } 12 | -------------------------------------------------------------------------------- /test/ng/documentSpec.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | describe('$document', function() { 4 | 5 | 6 | it("should inject $document", inject(function($document) { 7 | expect($document).toEqual(jqLite(document)); 8 | })); 9 | }); 10 | -------------------------------------------------------------------------------- /docs/content/error/animate/notcsel.ngdoc: -------------------------------------------------------------------------------- 1 | @ngdoc error 2 | @name $animate:notcsel 3 | @fullName Not class CSS selector 4 | @description 5 | 6 | Expecting a CSS selector for class. Class selectors must start with `.`, for example: `.my-class-name`. 7 | -------------------------------------------------------------------------------- /src/ngScenario/angular.prefix: -------------------------------------------------------------------------------- 1 | /** 2 | * @license AngularJS v"NG_VERSION_FULL" 3 | * (c) 2010-2014 Google, Inc. http://angularjs.org 4 | * License: MIT 5 | */ 6 | (function(window, document){ 7 | var _jQuery = window.jQuery.noConflict(true); 8 | -------------------------------------------------------------------------------- /src/ngScenario/output/Object.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Creates a global value $result with the result of the runner. 5 | */ 6 | angular.scenario.output('object', function(context, runner, model) { 7 | runner.$window.$result = model.value; 8 | }); 9 | -------------------------------------------------------------------------------- /watchr-docs.rb: -------------------------------------------------------------------------------- 1 | # config file for watchr http://github.com/mynyml/watchr 2 | # install: gem install watchr 3 | # run: watch watchr-docs.rb 4 | 5 | watch( '^src/|^docs/' ) do 6 | system 'echo "\n\ndoc run started @ `date`"; node docs/src/gen-docs.js' 7 | end 8 | -------------------------------------------------------------------------------- /docs/content/error/interpolate/interr.ngdoc: -------------------------------------------------------------------------------- 1 | @ngdoc error 2 | @name $interpolate:interr 3 | @fullName Interpolation Error 4 | @description 5 | 6 | This error occurs when interpolation fails due to some exception. The error 7 | message above should provide additional context. 8 | -------------------------------------------------------------------------------- /i18n/src/util.js: -------------------------------------------------------------------------------- 1 | exports.findLocaleId = function findLocaleId(str, type) { 2 | if (type === 'num') { 3 | return (str.match(/^NumberFormatSymbols_(.+)$/) || [])[1]; 4 | } else if (type == 'datetime') { 5 | return (str.match(/^DateTimeSymbols_(.+)$/) || [])[1]; 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /src/ng/directive/directives.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | function ngDirective(directive) { 4 | if (isFunction(directive)) { 5 | directive = { 6 | link: directive 7 | }; 8 | } 9 | directive.restrict = directive.restrict || 'AC'; 10 | return valueFn(directive); 11 | } 12 | -------------------------------------------------------------------------------- /docs/content/error/jqLite/offargs.ngdoc: -------------------------------------------------------------------------------- 1 | @ngdoc error 2 | @name jqLite:offargs 3 | @fullName Invalid jqLite#off() parameter 4 | @description 5 | 6 | This error occurs when trying to pass too many arguments to `jqLite#off`. Note 7 | that `jqLite#off` does not support namespaces or selectors like jQuery. 8 | -------------------------------------------------------------------------------- /src/ngScenario/output/Json.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * Generates JSON output into a context. 5 | */ 6 | angular.scenario.output('json', function(context, runner, model) { 7 | model.on('RunnerEnd', function() { 8 | context.text(angular.toJson(model.value)); 9 | }); 10 | }); 11 | -------------------------------------------------------------------------------- /docs/content/error/sce/itype.ngdoc: -------------------------------------------------------------------------------- 1 | @ngdoc error 2 | @name $sce:itype 3 | @fullName String Value is Required for SCE Trust Call 4 | @description 5 | 6 | {@link api/ng.$sce#methods_trustAs $sce.trustAs} requires a string value. 7 | 8 | Read more about {@link api/ng.$sce Strict Contextual Escaping (SCE)} in AngularJS. 9 | -------------------------------------------------------------------------------- /docs/content/error/jqLite/onargs.ngdoc: -------------------------------------------------------------------------------- 1 | @ngdoc error 2 | @name jqLite:onargs 3 | @fullName Invalid jqLite#on() Parameters 4 | @description 5 | 6 | This error occurs when trying to pass too many arguments to `jqLite#on`. Note 7 | that `jqLite#on` does not support the `selector` or `eventData` parameters as 8 | jQuery does. 9 | -------------------------------------------------------------------------------- /src/angular.suffix: -------------------------------------------------------------------------------- 1 | //try to bind to jquery now so that one can write angular.element().read() 2 | //but we will rebind on bootstrap again. 3 | bindJQuery(); 4 | 5 | publishExternalAPI(angular); 6 | 7 | jqLite(document).ready(function() { 8 | angularInit(document, bootstrap); 9 | }); 10 | 11 | })(window, document); 12 | -------------------------------------------------------------------------------- /docs/content/error/ng/areq.ngdoc: -------------------------------------------------------------------------------- 1 | @ngdoc error 2 | @name ng:areq 3 | @fullName Bad Argument 4 | @description 5 | 6 | AngularJS often asserts that certain values will be present and truthy using a 7 | helper function. If the assertion fails, this error is thrown. To fix this problem, 8 | make sure that the value the assertion expects is defined and truthy. -------------------------------------------------------------------------------- /docs/content/error/sce/icontext.ngdoc: -------------------------------------------------------------------------------- 1 | @ngdoc error 2 | @name $sce:icontext 3 | @fullName Invalid / Unknown SCE context 4 | @description 5 | 6 | The context enum passed to {@link api/ng.$sce#methods_trustAs $sce.trustAs} was not recognized. 7 | 8 | Please consult the list of {@link api/ng.$sce#contexts supported Strict Contextual Escaping (SCE) contexts}. 9 | -------------------------------------------------------------------------------- /docs/content/error/ng/badname.ngdoc: -------------------------------------------------------------------------------- 1 | @ngdoc error 2 | @name ng:badname 3 | @fullName Bad `hasOwnProperty` Name 4 | @description 5 | 6 | Occurs when you try to use the name `hasOwnProperty` in a context where it is not allow. 7 | Generally, a name cannot be `hasOwnProperty` because it is used, internally, on a object 8 | and allowing such a name would break lookups on this object. -------------------------------------------------------------------------------- /scripts/travis/print_logs.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | LOG_FILES=$LOGS_DIR/* 4 | 5 | for FILE in $LOG_FILES; do 6 | echo -e "\n\n\n" 7 | echo "================================================================================" 8 | echo " $FILE" 9 | echo "================================================================================" 10 | cat $FILE 11 | done 12 | -------------------------------------------------------------------------------- /docs/content/error/cacheFactory/iid.ngdoc: -------------------------------------------------------------------------------- 1 | @ngdoc error 2 | @name $cacheFactory:iid 3 | @fullName Invalid ID 4 | @description 5 | 6 | This error occurs when trying to create a new `cache` object via {@link api/ng.$cacheFactory} with an ID that was already used to create another cache object. 7 | 8 | To resolve the error please use a different cache ID when calling `$cacheFactory`. 9 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /build/ 2 | .DS_Store 3 | gen_docs.disable 4 | test.disable 5 | regression/temp*.html 6 | performance/temp*.html 7 | .idea/workspace.xml 8 | *~ 9 | *.swp 10 | angular.js.tmproj 11 | /node_modules/ 12 | /components/ 13 | /bower_components/ 14 | angular.xcodeproj 15 | .idea 16 | .agignore 17 | libpeerconnection.log 18 | npm-debug.log 19 | /tmp/ 20 | /scripts/bower/bower-* 21 | -------------------------------------------------------------------------------- /test/ng/rootElementSpec.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | describe('$rootElement', function() { 4 | it('should publish the bootstrap element into $rootElement', function() { 5 | var element = jqLite(''); 6 | var injector = angular.bootstrap(element); 7 | 8 | expect(injector.get('$rootElement')[0]).toBe(element[0]); 9 | 10 | dealoc(element); 11 | }); 12 | }); 13 | -------------------------------------------------------------------------------- /docs/content/error/resource/badname.ngdoc: -------------------------------------------------------------------------------- 1 | @ngdoc error 2 | @name $resource:badname 3 | @fullName Cannot use hasOwnProperty as a parameter name 4 | @description 5 | 6 | Occurs when you try to use the name `hasOwnProperty` as a name of a parameter. 7 | Generally, a name cannot be `hasOwnProperty` because it is used, internally, on a object 8 | and allowing such a name would break lookups on this object. -------------------------------------------------------------------------------- /docs/content/error/ngPattern/noregexp.ngdoc: -------------------------------------------------------------------------------- 1 | @ngdoc error 2 | @name ngPattern:noregexp 3 | @fullName Expected Regular Expression 4 | @description 5 | This error occurs when 'ngPattern' is passed an expression that isn't a regular expression or doesn't have the expected format. 6 | 7 | For more information on valid expression syntax, see 'ngPattern' in {@link api/ng.directive:input input} directive docs. 8 | -------------------------------------------------------------------------------- /src/ng/document.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | /** 4 | * @ngdoc object 5 | * @name ng.$document 6 | * @requires $window 7 | * 8 | * @description 9 | * A {@link angular.element jQuery or jqLite} wrapper for the browser's `window.document` object. 10 | */ 11 | function $DocumentProvider(){ 12 | this.$get = ['$window', function(window){ 13 | return jqLite(window.document); 14 | }]; 15 | } 16 | -------------------------------------------------------------------------------- /protractor-conf.js: -------------------------------------------------------------------------------- 1 | exports.config = { 2 | allScriptsTimeout: 11000, 3 | 4 | specs: [ 5 | 'build/docs/ptore2e/**/*.js', 6 | 'test/e2e/docsAppE2E.js' 7 | ], 8 | 9 | capabilities: { 10 | 'browserName': 'chrome' 11 | }, 12 | 13 | baseUrl: 'http://localhost:8000/build/docs/', 14 | 15 | framework: 'jasmine', 16 | 17 | jasmineNodeOpts: { 18 | defaultTimeoutInterval: 30000 19 | } 20 | }; 21 | -------------------------------------------------------------------------------- /docs/content/error/parse/lexerr.ngdoc: -------------------------------------------------------------------------------- 1 | @ngdoc error 2 | @name $parse:lexerr 3 | @fullName Lexer Error 4 | @description 5 | 6 | Occurs when an expression has a lexical error, for example a malformed number (0.5e-) or an invalid unicode escape. 7 | 8 | The error message contains a more precise error. 9 | 10 | To resolve, learn more about {@link guide/expression Angular expressions}, identify the error and fix the expression's syntax. 11 | -------------------------------------------------------------------------------- /docs/content/error/parse/ueoe.ngdoc: -------------------------------------------------------------------------------- 1 | @ngdoc error 2 | @name $parse:ueoe 3 | @fullName Unexpected End of Expression 4 | @description 5 | 6 | Occurs when an expression is missing tokens at the end of the expression. 7 | For example, forgetting a closing bracket in an expression will trigger this error. 8 | 9 | To resolve, learn more about {@link guide/expression Angular expressions}, identify the error and fix the expression's syntax. 10 | -------------------------------------------------------------------------------- /example/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 |