fix(factory): fixes typo in call to canonicalUrlFor.
fix(factory): fixes typo in call to canonicalUrlFor.

Closes #227

dirkgroenen/angular-restmod,leonuh/angular-restmod,duxet/angular-restmod,jimmybaker/angular-restmod,platanus/angular-restmod