Jump to content

module: PwAngular.module


Manol
 Share

Recommended Posts

Hi Macrura.

In the example below you´ll get a list of all children of the actual page.

<script>
	app.controller('myCtrl', function ($scope) {
	  	$scope.children = [];		
	  	$scope.children = <?=$page->getChildren()?>;
	});
</script>

<div ng-controller="myCtrl">
  <ul>
    <li ng-repeat="child in children">{{child.title}}</li>
  </ul>
</div>

The code is really clean and is not only that but you can make use of thousands of modules already available and a huge community. As mr-fan said you get lots of videos, docs, books.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...