HTML ile butona basıp, script içinden kontrolünü yapmak istiyroum. <button ng-click="redirect()">Manuel Aktivite Ekle</button> bu mesela html tarafında, js tarafında ise angular.module('myApp').controller('...', function($scope,$location ) { ........ $scope.redirect = function () { $location.url('http://localhost:8080/Test.html'); } } acaba neyi eksik yapıyorum.
9 Temmuz 2017
Javascript kategorisinde
tolgacelik.art
2.0k puan
sordu