JavaScript & Frontend
-
Open Source Security Is Everyone’s Problem Now
Two weeks ago, a North Korean state actor compromised the lead maintainer of Axios and published malicious versions to npm. The library has roughly 100 million weekly downloads. The poisoned packages were…
-
AngularJS ngInclude directive and scope inheritance
ngInclude directive and scope There are many times when you want to include a html snippet code from another file but preserve the scope of it. It is usually when you have different form…
-
Extending Javascript objects with a help of AngularJS extend method
Multiple ways of extending javascript objects /** * One-way reference from subclass to superclass (instance) * Most of the time this is what you want. It should be done * before adding…
-
AngularJS directive multiple element
How to get AngularJS directive multiple element You probably know there exists opening ng-repeat-start and finishing directive ng-repeat-end like: <ul> <li ng-repeat-start=”user in users”> {{user.firstName}} </li> <li ng-repeat-end> {{user.firstName}} </li> </ul> You would think…
-
AngularJS and Ruby on Rails work together
Finding the best integration of AngularJS and Ruby on Rails Recently I got really excited with AngularJS so to make it work perfectly with Ruby on Rails there are some configurations needed.…
-
Timesaving AngularJS Cheatsheet
Perfect way to get start with AngularJS There are two great things to use for looking up for AngularJS syntax, Dash.app with downloaded AngularJS documentation and a short cheatsheet by ProLoser. It helps you…