Skip to content

Instantly share code, notes, and snippets.

View ng-model's full-sized avatar


View GitHub Profile
ng-model / iframe.html
Created October 11, 2018 14:15
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<title>iframe Window</title>
body {
background-color: #D53C2F;
color: white;
Can some one explain in simple way to overcome this please.....
ng-model /
Created January 12, 2018 22:03 — forked from isaacs/
Use one of these techniques to install node and npm without having to sudo. Discussed in more detail at 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 | tar xz --strip-components=1
./configure --prefix=~/local
make install # ok, fine, this step probably takes more than 30 seconds...
curl | sh
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'