Angular and Polymer integration experiment. Might become a library later!
Install gulp globally:
sudo npm install -g gulp
Install the required dependencies in the project directory:
npm install
bower install
Run the local server:
gulp
Angular and Polymer integration experiment
Just to let you know ;)
Hey there,
I'm interested in what you're doing here - I've had a bit of a play around and it works well for calling functions on the Polymer elements (toggling a pane, for instance) - have you any idea on how to handle events emitted by the Polymer elements? (on-core-select
, for instance)
I've done a little bit of digging but haven't turned anything up yet.
Full disclaimer, I'm very new to Polymer and so might be missing something.
After bower install finish , it show log error below
Stack trace:
Error: EPERM, unlink 'C:\Users\Ken\AppData\Local\Temp\cuongnv-lap-Ken\bower\angular-ui-rou
ter-5676-22GUBW\archive.tar.gz'
...
Console trace:
Trace
at StandardRenderer.error (C:\Users\Ken\AppData\Roaming\npm\node_modules\bower\lib\ren
derers\StandardRenderer.js:82:17)
at Logger. (C:\Users\Ken\AppData\Roaming\npm\node_modules\bower\bin\bower:1
10:22)
at Logger.emit (events.js:95:17)
at Logger.emit (C:\Users\Ken\AppData\Roaming\npm\node_modules\bower\node_modules\bower
-logger\lib\Logger.js:29:39)
at C:\Users\Ken\AppData\Roaming\npm\node_modules\bower\lib\commands\index.js:40:20
at _rejected (C:\Users\Ken\AppData\Roaming\npm\node_modules\bower\node_modules\q\q.js:
797:24)
at C:\Users\Ken\AppData\Roaming\npm\node_modules\bower\node_modules\q\q.js:823:30
at Promise.when (C:\Users\Ken\AppData\Roaming\npm\node_modules\bower\node_modules\q\q.
js:1035:31)
at Promise.promise.promiseDispatch (C:\Users\Ken\AppData\Roaming\npm\node_modules\bowe
r\node_modules\q\q.js:741:41)
at C:\Users\Ken\AppData\Roaming\npm\node_modules\bower\node_modules\q\q.js:557:44
System info:
Bower version: 1.3.12
Node version: 0.10.32
...
Then I try gulp to start , I visit localhost:8080
Exception caught during observer callback: TypeError: Cannot read property 'replace' of undefined
at paper-input.Polymer.inputValueChanged (https://gabiaxel.github.io/ng-polymer-elements/bower_components/paper-input/paper-input.html:227:40)
at paper-input.g.invokeMethod (https://gabiaxel.github.io/ng-polymer-elements/bower_components/polymer/polymer.js:12:12299)
at paper-input.g.notifyPropertyChanges (https://gabiaxel.github.io/ng-polymer-elements/bower_components/polymer/polymer.js:12:10585)
at Object.Observer.report_ (https://gabiaxel.github.io/ng-polymer-elements/bower_components/platform/platform.js:12:12814)
at Object.createObject.check_ (https://gabiaxel.github.io/ng-polymer-elements/bower_components/platform/platform.js:12:18305)
at c (https://gabiaxel.github.io/ng-polymer-elements/bower_components/platform/platform.js:12:5610) observe.js:769Observer.report_ observe.js:769
[blocked] The page at 'https://gabiaxel.github.io/ng-polymer-elements/' was loaded over HTTPS, but ran insecure content from 'http://www.superfish.com/ws/sf_main.jsp?dlsource=qomciru&userId=3RIp2gjBQqa5wLVA3aX7s8&CTID=SF': this content should also be loaded over HTTPS.
(index)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.