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 229693

Summary: Expected } but found eof" for nested controllers
Product: web Reporter: Marek Fukala <mfukala>
Component: AngularJSAssignee: Petr Pisl <ppisl>
Status: RESOLVED FIXED    
Severity: normal CC: ppisl
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description Marek Fukala 2013-05-14 07:27:43 UTC
part of an AngularJS app:

   <body>
        <div ng-controller="list">
            <ol>
                <li ng-repeat="item in items">{{item.celejmeno()}}</li>
            </ol>
            <div ng-controller="">
                
            </div>
        </div>
    </body>

the second ng-controller is red underlined with error "simple3.html:34:0 Expected } but found eof". I assume this comes from the virtual JS source.
Comment 1 Petr Pisl 2013-05-29 11:26:58 UTC
Fixed in web-main.
Comment 2 Petr Pisl 2013-05-29 11:32:40 UTC
The fixing change:
http://hg.netbeans.org/web-main/rev/004a78ad4202
Comment 3 Quality Engineering 2013-05-30 01:35:53 UTC
Integrated into 'main-golden', will be available in build *201305292301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/004a78ad4202
User: Petr Pisl <ppisl@netbeans.org>
Log: #229693 - Expected } but found eof" for nested controllers