title: How to write path redirect in ruby on rails and angularjs
body: <p>Sorry that I am new to ruby on rails.</p>
  
  <p>I am trying to create a directive in angularjs. 
  What I was doing is create an html file in folder view/forms, named topRight-buttonGroup.html</p>
  
  <p>Then I just created a simple directive for test:   </p>
  
  <pre><code>app.directive('topRightButtonTools', function(){
      return {
          restrict: 'C',
          templateUrl: 'topRight-buttonGroup.html'
      };
  });
  </code></pre>
  
  <p>But getting the error message in the console is:  </p>
  
  <pre><code>GET http://localhost:3000/forms/topRight-buttonGroup.html 404 (Not Found) 
  </code></pre>
  
  <p>Am I missing something should be done on ruby on rails? Or should I write some redirect code and save in somewhere? </p>
  
  <p>my full folder structure is:  </p>
  
  <p><img src="https://i.stack.imgur.com/6hezz.png" alt="Here is my structure"></p>