How to redirect into another html login page using ng-include and ng-click events?

71 views Asked by At

I am new to AngularJs. I have 2 different html pages. I have created a website which have static home page and login page which will access through button. How to load login page using ng-include and ng-click? Other solutions are also appreciated.

1

There are 1 answers

0
Ashish On BEST ANSWER

on ng-click event, do something like this to go next html page.

$scope.GoToNextPage = function (Id) {
window.open('/Serials/Serials?Id=' + Id,'');}

here Id is used for getting data against Id number