Skip to content

Instantly share code, notes, and snippets.

View ng-model's full-sized avatar
🚩
Flutter..

ng-model

🚩
Flutter..
View GitHub Profile
View angular-datables
https://l-lin.github.io/angular-datatables/
@ng-model
ng-model / iframe.html
Created October 11, 2018 14:15
experiment
View iframe.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>iframe Window</title>
<style>
body {
background-color: #D53C2F;
color: white;
}
@ng-model
ng-model / node-and-npm-in-30-seconds.sh
Created January 12, 2018 22:03 — forked from isaacs/node-and-npm-in-30-seconds.sh
Use one of these techniques to install node and npm without having to sudo. Discussed in more detail at http://joyeur.com/2010/12/10/installing-node-and-npm/ Note: npm >=0.3 is *safer* when using sudo.
View node-and-npm-in-30-seconds.sh
echo 'export PATH=$HOME/local/bin:$PATH' >> ~/.bashrc
. ~/.bashrc
mkdir ~/local
mkdir ~/node-latest-install
cd ~/node-latest-install
curl http://nodejs.org/dist/node-latest.tar.gz | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl https://www.npmjs.org/install.sh | sh
@ng-model
ng-model / errors_in_moment
Created March 31, 2017 16:47
when i did changes related to moment in angular2-moment, i encounter these errors :(
View errors_in_moment
ERROR in ./~/angular2-moment/calendar.pipe.js
Module not found: Error: Can't resolve 'moment' in 'C:\Users\MKumar\my-app\node_modules\angular2-moment'
@ ./~/angular2-moment/calendar.pipe.js 4:13-30
@ ./~/angular2-moment/index.js
@ ./src/app/app.module.ts
@ ./src/main.ts
@ multi webpack-dev-server/client?http://localhost:4200 ./src/main.ts
ERROR in ./~/angular2-moment/difference.pipe.js
Module not found: Error: Can't resolve 'moment' in 'C:\Users\MKumar\my-app\node_modules\angular2-moment'