我有一个传递$ routeParams的按钮 然而,这是太慢/笨重,因为它通过转到相同的URL collections.html重新加载整个视图
Angular
Subject: <Some subject>
Content-Type: text/html
To: <some email id>
X-Mailer: mail (GNU Mailutils 2.99.97)
Message-Id: <20160215054331.4C3EA25E27@<machine-description>
Date: Mon, 15 Feb 2016 11:13:31 +0530 (IST)
From: <some email id>
HTML
$routeProvider.when('/products/:uId/:mId/productsList', {
templateUrl: '/views/collections.html',
controller: 'productsController'
});
是他们传递$ routeParams并加载局部视图的方法 没有重新加载整个视图来加快速度?
e.g。 ng-include而不是ng-href