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

Update route.js #5243

Closed
wants to merge 1 commit into from
Closed

Update route.js #5243

wants to merge 1 commit into from

Conversation

hambyiii
Copy link
Contributor

@hambyiii hambyiii commented Dec 3, 2013

docs($routeProvider): don't wrap route parameter examples in braces

Wrapping the param examples in braces, for example (:param?) is confusing, as it make it seem that the braces are required in the route, which is not the case.

Only a small niggle, but I found that wrapping the examples of route params in braces, like (:name?) totally misleading. I was not the only one that thought that the braces were required.
@mary-poppins
Copy link

Thanks for the PR!

  • Contributor signed CLA now or in the past
    • If you just signed, leave a comment here with your real name
  • PR's commit messages follow the commit message format

If you need to make changes to your pull request, you can update the commit with git commit --amend.
Then, update the pull request with git push -f.

Thanks again for your help!

jamesdaily pushed a commit to jamesdaily/angular.js that referenced this pull request Jan 27, 2014
Putting route parameter examples in braces was misleading newcomers.

Closes angular#5243
jamesdaily pushed a commit to jamesdaily/angular.js that referenced this pull request Jan 27, 2014
Putting route parameter examples in braces was misleading newcomers.

Closes angular#5243
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants