Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 17, 2013
  1. Igor Minar

    chore(Rakefile): remove a duplicate file in angularFiles.js

    James deBoer authored IgorMinar committed
Commits on Sep 17, 2012
  1. Igor Minar

    chore(testing): Testacular config files + rake tasks

    IgorMinar authored
    - adds testacular config files for jqlite, jquery, modules and e2e tests
    - replaces obsolete JsTD Rake tasks with Testacular onces
    - rake tasks are parameterazied so that they can be used locally as well as on CI server
    
    usage:
    
    rake test  # run all tests on Chrome
    rake test[Safari+Chrome+Opera]  # run all tests on Safari, Chrome and Opera
    rake test[Safari]  # run all tests on Safari
    rake test:jqlite # run unit tests using jqlite on Chrome
    rake test:jqlite[Safari,"--reporter=dots"]  # run jqlite-based unit tests on Safari with dots reporter
    rake autotest:jquery  # start testacular with jquery-based config and watch fs for changes
    rake test:e2e # run end to end tests
Commits on Jun 12, 2012
  1. Igor Minar
Commits on May 23, 2012
  1. Igor Minar

    feat($timeout): add $timeout service that supersedes $defer

    IgorMinar authored
    $timeout has a better name ($defer got often confused with something related to $q) and
    is actually promise based with cancelation support.
    
    With this commit the $defer service is deprecated and will be removed before 1.0.
    
    Closes #704, #532
Commits on May 7, 2012
  1. Miško Hevery
Commits on May 4, 2012
  1. Miško Hevery
Commits on May 2, 2012
  1. Igor Minar
Commits on Apr 28, 2012
  1. Igor Minar

    feat($parse): CSP compatibility

    IgorMinar authored
    CSP (content security policy) forbids apps to use eval or
    Function(string) generated functions (among other things). For us to be
    compatible, we just need to implement the "getterFn" in $parse without
    violating any of these restrictions.
    
    We currently use Function(string) generated functions as a speed
    optimization. With this change, it will be possible to opt into the CSP
    compatible mode using the ngCsp directive. When this mode is on Angular
    will evaluate all expressions up to 30% slower than in non-CSP mode, but
    no security violations will be raised.
    
    In order to use this feature put ngCsp directive on the root element of
    the application. For example:
    
    <!doctype html>
    <html ng-app ng-csp>
      ...
      ...
    </html>
    
    Closes #893
Commits on Apr 11, 2012
  1. Vojta Jina

    chore(ngSanitize): extract $sanitize, ngBindHtml, linkyFilter into a …

    vojtajina authored
    …module
    
    Create build for other modules as well (ngResource, ngCookies):
    - wrap into a function
    - add license
    - add version
    
    Breaks `$sanitize` service, `ngBindHtml` directive and `linky` filter were moved to the `ngSanitize` module. Apps that depend on any of these will need to load `angular-sanitize.js` and include `ngSanitize` in their dependency list: `var myApp = angular.module('myApp', ['ngSanitize']);`
Commits on Apr 4, 2012
  1. Vojta Jina
Commits on Mar 28, 2012
  1. Igor Minar

    refactor(fromJson/toJson): move the contents of these files into Angu…

    IgorMinar authored
    …lar.js
    
    these files are now mostly empty so it doesn't make sense to keep them
    separated from other helper functions
  2. Miško Hevery
  3. Miško Hevery
  4. Miško Hevery
  5. Miško Hevery
Commits on Mar 20, 2012
  1. Igor Minar
Commits on Mar 9, 2012
  1. Igor Minar
Commits on Mar 5, 2012
  1. Vojta Jina

    chore: Update slim-jim

    vojtajina authored
Commits on Feb 29, 2012
  1. Vojta Jina

    refactor(forms): Even better forms

    vojtajina authored
    - remove $formFactory completely
    - remove parallel scope hierarchy (forms, widgets)
    - use new compiler features (widgets, forms are controllers)
    - any directive can add formatter/parser (validators, convertors)
    
    Breaks no custom input types
    Breaks removed integer input type
    Breaks remove list input type (ng-list directive instead)
    Breaks inputs bind only blur event by default (added ng:bind-change directive)
Commits on Feb 22, 2012
  1. Miško Hevery
Commits on Jan 25, 2012
  1. Miško Hevery
Commits on Jan 23, 2012
  1. Vojta Jina

    refactor($controller): Add $controller service for instantiating cont…

    vojtajina authored
    …rollers
    
    So that we can allow user to override this service and use BC hack:
    https://gist.github.com/1649788
Commits on Jan 13, 2012
  1. Vojta Jina

    refactor($autoScroll): rename to $anchorScroll and allow disabling au…

    vojtajina authored
    …to scrolling (links)
    
    Now, that we have autoscroll attribute on ng:include, there is no reason to disable the service completely, so $anchorScrollProvider.disableAutoScrolling() means it won't be scrolling when $location.hash() changes.
    
    And then, it's not $autoScroll at all, it actually scrolls to anchor when it's called, so I renamed
    it to $anchorScroll.
Commits on Jan 11, 2012
  1. Miško Hevery
Commits on Jan 4, 2012
  1. Igor Minar
Commits on Nov 30, 2011
  1. Miško Hevery Igor Minar

    feat($interpolate): string interpolation function

    mhevery authored IgorMinar committed
  2. Igor Minar
  3. Vojta Jina Igor Minar

    feat(mocks.$httpBackend): add $httpBackend mock

    vojtajina authored IgorMinar committed
    $httpBackend mock allows:
    - expecting (asserting) requests
    - stubbing (responding without asserting)
    
    Add empty $httpBackend service (currently just wrapper for $browser.xhr)
  4. Vojta Jina Igor Minar

    feat($http): new $http service, removing $xhr.*

    vojtajina authored IgorMinar committed
    Features:
    - aborting requests
    - more flexible callbacks (per status code)
    - custom request headers (per request)
    - access to response headers
    - custom transform functions (both request, response)
    - caching
    - shortcut methods (get, head, post, put, delete, patch, jsonp)
    - exposing pendingCount()
    - setting timeout
    Breaks Renaming $xhr to $http
    Breaks Takes one parameter now - configuration object
    Breaks $xhr.cache removed - use configuration cache: true instead
    Breaks $xhr.error, $xhr.bulk removed
    Breaks Callback functions get parameters: response, status, headers
    Closes #38
    Closes #80
    Closes #180
    Closes #299
    Closes #342
    Closes #395
    Closes #413
    Closes #414
    Closes #507
  5. Igor Minar
Commits on Nov 22, 2011
  1. Vojta Jina

    feat(service.$autoScroll): scroll to hash fragment

    vojtajina authored
    - whenever hash part of the url changes
    - after ng:view / ng:include load
Commits on Nov 15, 2011
  1. Miško Hevery
  2. Miško Hevery
  3. Miško Hevery
  4. Miško Hevery
Something went wrong with that request. Please try again.