This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
In order to prevent browser from caching templates (partials), the "only" option is to use dynamic parameters in URL, e.g. $routeProvider.when('/specification/:id/v/2', {templateUrl: 'view.html?v=1', controller: SpecificationCtrl}); However, this causes: - code completion in partial is not related to controller - wrong variable colors in partial (marked as global) - go to declaration from partial does not work - go to declaration to partial from app.js does not To reproduce, simply create AngularJSPhoneCat sample project and update app.js:18 to templateUrl: 'partials/phone-list.html?v=1', Product Version: NetBeans IDE Dev (Build 201401220001) Java: 1.8.0-ea; Java HotSpot(TM) Client VM 25.0-b65 Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b122 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Fixed in web-main.
Integrated into 'main-silver', will be available in build *201401290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/6ab4df66d997 User: Petr Pisl <ppisl@netbeans.org> Log: #240825 - Completion/go to declaration are limited when using dynamic parameter in template URL
Verified, thank you Product Version: NetBeans IDE Dev (Build 201402070001) Java: 1.8.0; Java HotSpot(TM) Client VM 25.0-b69 Runtime: Java(TM) SE Runtime Environment 1.8.0-b128 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)