This is my code :
ng-click="create({{item.variants[0].id}},{{item.variants[0].title}})"
and the errors :
Error: [$parse:syntax] Syntax Error: Token 'Title' is unexpected, expecting [)] at column 26 of the expression [create(743922959,Default Title)] starting at [Title)].
what should i suppose to do in order to make clean function without errors but still preserve parameter that i put into it.