How can i go to another page using angularjs

i am trying to pass data from one page in url and get in new page from the url, for example i want to add 10,20 in the url. like in the given example i pass 10,20 in sumurl it shows its sum in div ng-view but i want to show it in sumurl.html or input.html

var app=angular.module('myapp',['ngRoute']);
            template:'Welcome to my app'
            template:'Not Available'
            var url=$interpolate('/sumurl/{{n1}}/{{n2}}')($scope);
<script src=""></script>
<div ng-app="myapp">
<li><a href="">some url</a></li>
<li><a href="">input</a></li>
    <div ng-view>


Inject the $location service, and then you can just do $location.href = <your target URL>


 ? How auto prepend post's category to url?
 ? how to redirect to two url from jsp page
 ? create url for file in my file system , web service
 ? Symfony host restriction
 ? Laravel - How to set fallback url. If a url does not exist, redirect to some default page
 ? Handling GET request variables
 ? How to load classes based on pretty URLs in MVC-like page?
 ? Using ASP.NET routing to serve static files
 ? ASP.NET MVC custom routing for search
 ? ASP.NET MVC Url Route supporting (dot)