I am new to angularJS , i am trying to redirect my Drupal App to a page within my app thats created using AngularJS
Now on my Drupal side i have a link as follows http://localhost/drupal6/sites/all/themes/platinum_printing/js/extjs/angular/views/system_text_response.html
But i want my routes to rename it to some thing like this
http://localhost/drupal6/text_response
I tried to do something like this in my app.js
$routeProvider.when('http://localhost/drupal6/sites/all/themes/platinum_printing/js/extjs/angular/views/system_text_response.html', {
controller: "SystemTextResponseController",
templateUrl: "/sites/all/themes/platinum_printing/js/extjs/angular/views/system_text_response.html"
url: "/text_response",
});
But i am unable to do this. This is a total noobish question but then again i am new to AngularJS