Answers.Body: <p>I believe you first need to generate a module, à la <code>civix generate:angular-module</code>. Have you already done that?</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-05-30T20:39:19.167Z
Answers.LastActivityDate: 2017-05-30T20:39:19.167Z
Answers.UserDisplayName: universalhandle
Body: <p>I'm trying to get started learning how to make Angular pages within a CiviCRM extension so I ran <code>civix help generate:angular-page</code> and read some help text about an example. Cool.</p>
  
  <p>Then I ran <code>civix generate:angular-page EditCtrl about/me</code> to follow the example in the help text. </p>
  
  <p>I browsed to <code>/civicrm/a/#/about/me</code> and expected to see some of the content shown in my newly generated <code>EditCtrl.html</code> file.</p>
  
  <p>Instead I saw a page with an error message "Unknown path". </p>
  
  <p><a href="https://i.sstatic.net/6n5SN.png" rel="noreferrer"><img src="https://i.sstatic.net/6n5SN.png" alt="enter image description here"></a></p>
  
  <p>How can I view the angular page that civix generated?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-05-31T07:07:17.377Z
Comments.Text: Is your js stuff loaded? Did you check the module registration in function yourextension.php->yourextension_civicrm_angularModules(&$angularModule)? Insert some test outputs...
Comments.UserDisplayName: nielo
Tags: <developer><civix><angular>
Title: "Unknown path" when viewing a newly generated angular page
ThreadText: # "Unknown path" when viewing a newly generated angular page
  
  (Asked by: username_0 on 2017-05-30)
  
  I'm trying to get started learning how to make Angular pages within a CiviCRM extension so I ran `civix help generate:angular-page` and read some help text about an example. Cool.
  
  Then I ran `civix generate:angular-page EditCtrl about/me` to follow the example in the help text.
  
  I browsed to `/civicrm/a/#/about/me` and expected to see some of the content shown in my newly generated `EditCtrl.html` file.
  
  Instead I saw a page with an error message "Unknown path".
  
  [![enter image description here](https://i.sstatic.net/6n5SN.png)](https://i.sstatic.net/6n5SN.png)
  
  How can I view the angular page that civix generated?
  
  **Tags:** developer, civix, angular
  
  > **Comments:**
  > **username_1**: Is your js stuff loaded? Did you check the module registration in function yourextension.php->yourextension_civicrm_angularModules(&$angularModule)? Insert some test outputs...  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2017-05-30. Score: 3 | Accepted answer
  
  I believe you first need to generate a module, à la `civix generate:angular-module`. Have you already done that?
  
  
  ---
  
  