Avoid using Javascript Number typecheck in AngularJS application | CAST Appmarq