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.

Bug 250933 - No CC when controller is declared directly in the $routeProvider's config
Summary: No CC when controller is declared directly in the $routeProvider's config
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: AngularJS (show other bugs)
Version: 8.1
Hardware: PC All
: P3 normal (vote)
Assignee: Roman Svitanic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-05 16:03 UTC by Roman Svitanic
Modified: 2015-03-07 08:40 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Svitanic 2015-03-05 16:03:41 UTC
No CC when controller is register as in this sample:

app.config(['$routeProvider', function ($routeProvider) {
  $routeProvider
    .when('/bug', {
      templateUrl: 'partials/bug.html',
      controller: function () {
        this.id = 1;
      },
      controllerAs: 'bug'});
}]);
Comment 1 Roman Svitanic 2015-03-06 14:40:07 UTC
Changeset: 40a1bdb114ca
Author:    Roman Svitanic <rsvitanic@netbeans.org>
Date:      2015-03-06 15:39
Message:   #250933: No CC when controller is declared directly in the $routeProvider's config - fixed
Comment 2 Quality Engineering 2015-03-07 08:40:46 UTC
Integrated into 'main-silver', will be available in build *201503070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/40a1bdb114ca
User: Roman Svitanic <rsvitanic@netbeans.org>
Log: #250933: No CC when controller is declared directly in the $routeProvider's config - fixed
Task #250933 - No CC when controller is declared directly in the $routeProvider's config