
Search In
A module is component in angular that can export classes, function and values. It can work as a library for some other module.
angular2 library is primary library that is a module and will be imported by some other component.
This is the code for mo
This tutorial will help to learn how to make use of bind function in javascript. We use “bind” function, that helps us to use the properties and methods of any other object.bind function creates
it's new method that has it's own this object which he
Sending email using function drupal_mail(). All you need to do is install and configure SMTP module and then add the given code in your custom module.
function sendemail(){
$to = ' xyz@gmail.com ';
$from = ' abc@gmail.com ';
Before we begin with the setup of the varnish with Apache, let us know a bit about Varnish and then move ahead with configuration of varnish with apache with some examples that gives you an idea of basic settings for the server.
Varnish is an HTTP A
PassportJS is a flexible Authentication middleware that allows users to login. PassportJS library is fully customizable and works well with ExpressJS.
It is flexible in the sense that it allows the user for different login strategies such as LocalSt
Hi all,
Here is an example how to format currency using Angular filters.
Formats a number as a currency (ie $1,234.56). When no currency symbol is provided, default symbol for current locale is used. - AngularJS
HTML:-
<body ng-controller="C
Count Total number of Web Links and All Elements on Webpage:
In this blog, we discuss about how to get the total number of web links and all elements on webpage.
Steps to be automated:
Launch the web browser
Open the URL
Hi there,
This is an interesting blog if you want to use Mac OS like Genie effect on your Ubuntu machine then this blog might be useful for you. Follow these steps and at the end you will get changed minimized and maximized animations whic
This has been raised as a security concern blocking the release of my Cordova application on Android 4.4 KitKat
Using a SQLIte browser on a rooted device, the application session id cookie is being written in plain text into a SQLite table named COO
In Javascript you have a number of functions to genrate random numbers between two given digits. Some of them are inbulit and some you can create for your own, But the simplest way to perform the operation is the code below:-
// Returns a random int
