Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
1
Reply
AngularJS window.open not working
Dinkar Chavhan
Nov 7 2014 10:25 PM
4.7k
Reply
Hi,
I have one hrelink on click of that calling to MVC controller and get some URL and that url i am catch on client side controller and pass to window.open('http://www.c-sharpcorner.com/1/302/angularjs.aspx') so alongwith my localhost url bind,means some third party url not opening.
Note:This is error
http://localhost:64913/"http://www.c-sharpcorner.com/1/302/angularjs.aspx".
like in controller:
$scope.CheckUrl = function () {
debugger;
$http.get("/Demo/GetUrl").success(function (responseData) {
debugger;
$scope.URLs= responseData;
window.open($scope.URLs)
});
//$window.absUrl = $scope.URLs;
}
guys if anyone know this issue please let me know
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
about .net mini project
how to pass document.cookie value to controller