Sorry I am new and little English, my question is how I can load a fraction 
of html within my template index through angular in web2py.
My code is as follows
App / static / js / AngularController
ControllerAngular:

     
App.config (['$ routeProvider', function ($ routeProvider)
  {

     $ RouteProvider
     .when ("/ hi", {
         TemplateUrl: "/hi.html",
     .otherwise ({
         RedirectTo: "/",
         TemplateUrl: "test.html",

      })
  }

App / views / default / index
My index
<? Left_sidebar_enabled, right_sidebar_enabled = False, ('message' in 
globals ())?>
<? Extend 'layout.html'?>
<? Block header?>

<Div class = "service-list-col2" ng-controller = "routeProvider">
          <H3> <a href="#/hi"> test </a> </ h3>
</ Div>
<Figure class = "col-lg-9 col-sm-7 wow fadeInUp delay-02s">
        <Div ng-view> </ div>
</ Figure>

And the layout already has the data-ng-app = "myApp"

thank you in advance

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to