Skip to content

Multiple calling to controller #30

Open

Description

@carlosalarconb

Im not pretty sure if this is a bug or a normal behaviour ( I dont think so).
If I change html chart page to use only one call to chart Controller (removing all the call to ng-controller="ChartCtrl" first, and then adding only one call through a new

which wraps all the html code) I can see that the call is performed twice. Is this a normal behaviour? I think this could be a performance issue.

Thanks!

Activity

  1. carlosalarconb commented on Aug 7, 2015

    @carlosalarconb
    Author

    The answer is very similar to this...http://stackoverflow.com/questions/15535336/combating-angularjs-executing-controller-twice
    Controller is loaded by the router too, in addition all the calls that exist inside of the html file. Note it could be a performance problem.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions