Update do angular e switch de views