Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

$locationChangeStart, $locationChangeSuccess events are not documented #1569

Closed

Description

@nickretallack

These events are emitted by angular, but they are never mentioned in the documentation: $locationChangeStart, $locationChangeSuccess, $includeContentLoaded, $viewContentLoaded, $routeChangeStart, $routeChangeError

The other events are only mentioned in passing: $routeUpdate, $routeChangeSuccess. It would be nice if events had a place in the documentation.

Activity

  1. pkozlowski-opensource commented on Nov 14, 2012

    @pkozlowski-opensource
    Member

    So, had a quick look at the docs and in fact most of the events are documented:

    The only ones missing from the doc seem to be the $location events (or at least I can't find docs for them). Changing the title of this issue to better reflect this.

  2. gotoAndBliss commented on Jan 31, 2013

    @gotoAndBliss

    Also the search does not pick up any of these keywords, neither can Google find them.

  3. boxed commented on May 10, 2013

    @boxed

    Am I right in understanding that the docs are generated from the comment marked with "@ngdoc" in https://github.com/angular/angular.js/blob/master/src/ng/http.js ?

  4. wladston commented on Jun 6, 2013

    @wladston

    +1, took me a long time to find that these actually existed.

  5. btford commented on Aug 24, 2013

    @btford
    Contributor

    As part of our effort to clean out old issues, this issue is being automatically closed since it has been inactivite for over two months.

    Please try the newest versions of Angular (1.0.8 and 1.2.0-rc.1), and if the issue persists, comment below so we can discuss it.

    Thanks!

  6. nickretallack commented on Aug 24, 2013

    @nickretallack
    Author

    What? Don't just close this. Document it. These events are still undocumented in the latest version. http://code.angularjs.org/1.2.0rc1/docs/api/ng.$location

  7. reopened this on Aug 24, 2013
  8. btford commented on Aug 24, 2013

    @btford
    Contributor

    Would anyone like to submit a PR for this? :)

  9. Nitrodist commented on Aug 25, 2013

    @Nitrodist
    Contributor

    I'll probably get around to doing it. Is the ng.$location page the appropriate place to do it? Is there similar documentation that I can look at so that I know what kinds of things I should explain?

  10. pkozlowski-opensource commented on Aug 25, 2013

    @pkozlowski-opensource
    Member

    @Nitrodist a PR would be awesome. Yes, $location is the proper place. While preparing a PR you can use documentation of the existing routing events as an example:
    https://github.com/angular/angular.js/blob/master/src/ngRoute/route.js#L337-L390

  11. added 2 commits that reference this issue on Jan 27, 2014
    c94bc02
    97b4f95
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions