aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-04-24docs(di): fix typos and grammarJeff Pickelman
2013-04-23docs(guide:unit-testing): add an example unit test for directivesTimothy Ahong
2013-04-22feat(controller): support as instance syntaxMisko Hevery
Support ng-controller="MyController as my" syntax which publishes the controller instance to the current scope. Also supports exporting a controller defined with route: ````javascript angular.module('routes', [], function($routeProvider) { $routeProvider.when('/home', {controller: 'Ctrl as home', templateUrl: '...'}); }); ````
2013-04-22fix($animator): remove dependency on window.setTimeout.Misko Hevery
2013-04-22docs(compiler): don't drag selected contentPete Bacon Darwin
In the example with draggable, the mouseDown handler needs to start with an event.preventDefault(). Otherwise the following bug occurs: 1) Select the text of the draggable span by clicking outside the span and dragging the mouse to the left or right through the span. Release the mouse button. 2) Now click on the span's inner text, and start to Drag it. The browser's default functionality that drags highlighted text so that it can be pasted into something else (say a document in a text editor) is invoked. 3) Release the mouse button. Now suddenly, you'll be dragging the span. But you won't be able to place it down on the page. It'll just follow the mouse around until the page is refreshed. Closes: #2465
2013-04-22docs(compiler): fix variable scope in drag sampleKeir Mierle
Note that without this fix, if you add a second draggable element, the two instances clobber each other since there is only one set of startx/starty/x/y variables. Here is an example: http://plnkr.co/edit/aGrLXcIo2SuaePuAdfmQ?p=preview. On the surface it looks like it would be fine because you only have one mouse but in practice the start position jumps when you start dragging. Here it is fixed: http://plnkr.co/edit/VuvPasuumtCeiVRisYKQ?p=preview
2013-04-22docs(forms): fix formattingKeir Mierle
2013-04-22docs(forms): fix typoRon Yang
2013-04-21docs(guide): minor grammatical changePaulo Ávila
2013-04-19chore(ngDoc): fix a typo with IE warningTyler Akins
2013-04-19feat(ngIf): add directive to remove and recreate DOM elementsOren Avissar
This directive is adapted from ui-if in the AngularUI project and provides a complement to the ngShow/ngHide directives that only change the visibility of the DOM element and ngSwitch which does change the DOM but is more verbose.
2013-04-19docs(concepts): fix spelling errorMerrick Christensen
2013-04-19docs(overview): correct the input validation exampleJared Beck
The documentation says that the input should be red if you enter invalid values or leave it blank. Because the type="integer" is not supported this does not happen in practice. This fix changes the input type to number and adds an ng-pattern to ensure that the number is an integer.
2013-04-19docs(input): fix typo on max attributeleesei
2013-04-19docs(select): fix attribute documentationShyam Seshadri
Select documentation was still referring to binding to name, when it should be ng-model instead. Fixed it.
2013-04-19docs(ngBind): fix typoMichal Reichert
2013-04-18test(modules): fix module tests which got disabled by ngMobileIgor Minar
When ngMobile was merged in, we accidentaly included angular-scenario.js in the test file set for modules. Loading this file overrode jasmine's `it` and `describe` global functions which essentially disabled all of ~200 unit tests for wrapped modules. This change refactors the code to run the wrapped module tests. I had to extract browserTrigger from scenario runner in order to achieve this without code duplication.
2013-04-17fix(i18n): escape all chars above \u007f in locale filesPete Bacon Darwin
Modify the script that writes the locales so all characters above \u007f are escaped Includes the updated locale files after running the closureI18nExtractor. Closes #2417
2013-04-17fix(ngModel): use paste/cut events in IE to support context menuMark Dalgleish
In IE the model is not updated when the input value is modified using the context menu, e.g. pasting from the clipboard, or cutting all or part of the current value. To capture these changes, we bind to the proprietary 'paste' and 'cut' events. Closes #1462
2013-04-17doc(ngClassEven): make consistent with ngClassOddes128
2013-04-17docs(directive guide) typo in compile/link section@fbiville
The code snippet shows `{{action.description}}`, the explanation referred to it as `{{action.descriptions}}`.
2013-04-17docs(injector): fix typo in inlining example@fbiville
The actual invoke call in the documentation was referring to the non-existent tempFn instead of tmpFn
2013-04-16fix(ngPattern): allow modifiers on inline ng-patternaustingreco
Add support for regex modifiers on inline `ng-pattern`. `ng-pattern="/regex/i"` now validates correctly. Closes #1437
2013-04-16docs(guide.unit-testing): fix typoTimothy Ahong
2013-04-16docs($q): fix incorrect @returns tag for $q.when()Francesc Rosàs
2013-04-16fix(ngClass): should remove classes when object is the same but property has ↵Pete Bacon Darwin
changed If you wire up ngClass directly to an object on the scope, e.g. ng-class="myClasses", where scope.myClasses = { 'classA': true, 'classB': false }, there was a bug that changing scope.myClasses.classA = false, was not being picked up and classA was not being removed from the element's CSS classes. This fix uses angular.equals for the comparison and ensures that oldVal is a copy of (rather than a reference to) the newVal.
2013-04-16fix(Grunt): also remove \r chars when joining filesPete Bacon Darwin
2013-04-15fix($location): fix URL interception in hash-bang modeMisko Hevery
Closes #1051
2013-04-15docs(tutorial): testacular renamed to karmaPete Bacon Darwin
Replaced instances of 'Testacular' with 'Karma' to reflect name change of test runner. Replaced instances of 'http://vojtajina.github.com/testacular' with 'http://karma-runner.github.io/' to reflect dedicated page for Karma Test Runner. Added location of config file needed to start the Karma server. This is still labeled 'testacular.conf.js' and needs file name to be updated in the phone example repo.
2013-04-15docs(rootScope): fix typoPete Bacon Darwin
2013-04-15docs(rootScope): Fix various typosLaurent
2013-04-15docs(Angular.js): fix typoLaurent
2013-04-15doc(overview): add link to angular demo slides to overviewPete Bacon Darwin
2013-04-13docs(ngController): fix docs link to api/ng.$routebrandonjp
2013-04-13docs(module): fix typoSeunghoon Yeon
2013-04-13fix(Scenario): correct bootstrap issue on IEIgor Minar
we need to set the deferred bootstrap flag via window.name after the iframe's src has been set, otherwise IE will reset it to empty string
2013-04-12docs(faq): added note to FAQ re: legacy IE supportuberspeck
2013-04-11fix(ngAnimate): prevent animation on initial page loadMisko Hevery
2013-04-11fix(ngdocs): improve the animations used in the docs menuMatias Niemelä
2013-04-11fix(ngRepeat): prevent initial duplicatesMisko Hevery
2013-04-11chore(Grunt) update grunt-contrib-copyDave Geddes
grunt-contrib-copy@0.4.1 has the cleaner summary output by default
2013-04-11style(exceptionHandler): add wsLee Leathers
2013-04-11chore(NPM): Add license infoLee Leathers
2013-04-11docs(guide): Update $locationProvider docs.Prathan Thananart
Default hashPrefix setting is not `'!'`, it's actually `""`. Source: https://github.com/angular/angular.js/blob/master/src/ng/location.js#L472
2013-04-11docs(guide/i18n): fix a typokamagatos
2013-04-11docs(animator): fix typowinkler1
2013-04-11docs(jqLite): clarified that children/parent do not support selectorsChristoph Burgdorf
2013-04-11docs: fix typosMatt Haggard
2013-04-11docs(ngApp): fixed typoBrent Morrow
Use this directive to auto-bootstrap **an** application.
2013-04-11docs(guide/concepts): fix typoBrent Morrow
An event is a user **interaction**, timer event, or network event (response from a server).