angular获取url参数
Others 2019-03-01 09:25:40 2019-03-01 09:25:40 2544 次浏览var app = angular.module('myApp', []);
app.config(['$locationProvider', function($locationProvider) {
$locationProvider.html5Mode(true);
}]);
app.controller('dataCtrl', function($scope, $http,$compile,$location) {
$scope.newId=$location.search().jdid;
Links: 309