App starts hanging after using this code
Please, can you be more specific explaining the error? what do you mean “hanging”? Can you share the code and/or make a jsfiddle with it JSFIDDLE - F7-STARTER ? Do you see any error in the console?