Remove hardcode from angularjs demo