replace the js tools with angular