
Search In
In this post you will learn about cropping images using Image Crop directive in AngularJS. This directive provides you the feature to crop any image in a circle or square shape.
You just need to have angularjs to use this directive. To start with thi
The angularjs $watch, $digest and $apply are essential parts. You must know the difference between them. Here we are going to discuss them.
$watch():
In Angular, you often need to do data binding to modify data. When you do some data binding on $sco
In this blog i am going to explain why comment field of comment form in wordpress 4.4 and above version comes on the top whereas other fields come on the bottom and how to make comment field to come on the bottom and other fields on the top.
B
Hello I need to count pixels that are covered by each fingers in multi-touch.When fingers down one by one it should plus pixels in count and finger up it should subtract pixels of that finger.I have did this but it is not getting exact counts i don
In the previous post HTML5 Audio element methods i have explained about the HTML5 <audio> methods. In this blog i will further explained the different events associated with the audio element.
Commonly used audio events are:
1. loadata(): Th
LILO: Linux Loader is the traditional boot loader and it is perhaps still used in servers that run Linux as their Operating system. Grub or the GRand Unified Boot Loader replaced it as the 'cool' and secure alternative.
LILO has a co
Hello Readers,
Today will discuss the possible way to make div height 100% according to screen size. Let's see about the first method -
So, below is the CSS code -
html, body{
height: 100%;
}
.box{
height: 100%;
background: green
In my previous blog Upgrading Rails from 3.0 to 3.1, I explained you how we can upgrade a rails application from 3.0 to 3.1. In this I am going to show you, what changes are required to update an application from 3.1 to the latest of 3.2 rails versio
While passing objects to partial we can change the name of the local variable in the partial and for that purpose we need to use the :as option.
For example we have a partial _account.html.erb where we need to pass a collection @cutomers as loca
While sending an ajax request in rails sometimes we don’t need to render any data back to the page . Only status 200 is sufficient to show changes in the view page then we use render :nothing option but there is an alternative to it is head method.
