Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get person by id #23

Closed
canbax opened this issue Aug 15, 2017 · 0 comments
Closed

get person by id #23

canbax opened this issue Aug 15, 2017 · 0 comments

Comments

@canbax
Copy link

canbax commented Aug 15, 2017

in the line below
person.id === $stateParams.personId;
person.id should be a string because $stateParams.personId is string

if your person.id is a number just make it
person.id === +$stateParams.personId;

to convert types

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants