add links to rails js in angular