AngularJS URL에서 조각 식별자 제거 (# 기호)
angular.js URL에서 # 기호를 제거 할 수 있습니까? 뷰를 변경하고 매개 변수로 URL을 업데이트 할 때 브라우저의 뒤로 버튼 등을 계속 사용할 수 있기를 원하지만 # 기호는 원하지 않습니다. 튜토리얼 routeProvider는 다음과 같이 선언됩니다. angular.module('phonecat', []). config(['$routeProvider', function($routeProvider) { $routeProvider. when('/phones', {templateUrl: 'partials/phone-list.html', controller: PhoneListCtrl}). when('/phones/:phoneId', {templateUrl: 'partials/phone-detail.html', controller: PhoneDetailCtrl}). …