New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to suppress the automatic include of main.js #51

Closed
stephanrauh opened this Issue Jun 28, 2015 · 2 comments

Comments

Projects
None yet
1 participant
@stephanrauh
Owner

stephanrauh commented Jun 28, 2015

By default, every AngularJS ng-controller tag triggers an include of main.js. This is not always desired, so it should be possible to switch this feature off.

@stephanrauh stephanrauh added this to the AngularFaces 2.1.7 milestone Jun 28, 2015

@stephanrauh stephanrauh self-assigned this Jun 28, 2015

@stephanrauh

This comment has been minimized.

Show comment
Hide comment
@stephanrauh

stephanrauh Jun 28, 2015

Owner

Now you can switch off the feature completely by adding a context parameter to the web.xml:

    <context-param>
        <param-name>AngularFaces.includeMainJS</param-name>
        <param-value>false</param-value>
    </context-param>

Alternatively, you can switch it off on a per-controller basis by adding angularJSFile="none".

Owner

stephanrauh commented Jun 28, 2015

Now you can switch off the feature completely by adding a context parameter to the web.xml:

    <context-param>
        <param-name>AngularFaces.includeMainJS</param-name>
        <param-value>false</param-value>
    </context-param>

Alternatively, you can switch it off on a per-controller basis by adding angularJSFile="none".

stephanrauh added a commit that referenced this issue Jun 28, 2015

@stephanrauh

This comment has been minimized.

Show comment
Hide comment
Owner

stephanrauh commented Jun 28, 2015

done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment