0.1.0 • Published 9 years ago

ng-zen-wrap v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

ng-zen-wrap

You do not have to write the deep nest element.The zencoding like notation helps you.

Install and Setup

bower

bower install --save ng-zen-wrap
angular.module('your-module', ['ng-zen-wrap'])

npm

npm install --save ng-zen-wrap
angular.module('your-module', [require('ng-zen-wrap')])

Usage

source

<zen def="div>.foo>#bar>p[a=baz]">zencoding</zen>

out

<div>
  <div class="foo">
    <div id="bar">
      <p a="baz">zencoding</p>
    </div>
  </div>
</div>