Skip to content

Instantly share code, notes, and snippets.

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

ng-model

🚩
Flutter..
View GitHub Profile
@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 :(
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'
@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.
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
Can some one explain in simple way to overcome this please.....
@ng-model
ng-model / iframe.html
Created October 11, 2018 14:15
experiment
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>iframe Window</title>
<style>
body {
background-color: #D53C2F;
color: white;
}
https://l-lin.github.io/angular-datatables/