KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
<button type="button" class="btn btn-primary" ng-click="openTab()">new tab</button> openTab = function () { $http.post('www.google.com'); } What I want is post a require and open the response html in a new tab when you click the "openTab" button. There is no method to do this with $http . I think this maybe simple, but I can't find a way.
Tags (comma-separated)
Save Edits
Cancel