Last active
September 5, 2015 15:52
-
-
Save JesterXL/bf8156a61df7704c4e4a to your computer and use it in GitHub Desktop.
Angular + Polymer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Polymer component should have content tags in template | |
<template> | |
<!-- paper stuff --> | |
<content></content> | |
</template> | |
// Angular external directive template should have transclude target & have transclude to true | |
<your-polymer-component> | |
<div ng-transclude></div> | |
</your-polymer-component> | |
// finally, your Angular directive should have ui-view target for ui-router | |
<your-angular-polymer-wrapper> | |
<div ui-view></div> | |
</your-angular-polymer-wrapper> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment