An AngularJS module defines an application. AngularJS supports modular approach. Modules are used to separate logics say services, controllers, application etc. and keep the code clean. We define modules in separate js files and name them as per the module.js file. In this example we’re going to create two modules.… Read more
AngularJS provides multiple events. Please list it ?
AngularJS provides multiple events which can be associated with the HTML controls. For example ng-click is normally associated with button. Following are supported events in Angular JS.
# ng-click
# ng-dbl-click
# ng-mousedown
# ng-mouseup
# ng-mousemove
# ng-mouseover
# ng-mouseenter
# ng-mouseleave
# ng-keydown
# ng-keyup
# ng-keypress
# … Read more
How can we implement AngularJS AJAX – $http ?
AngularJS provides $http control which works as a service(API) to read data from the server. The server makes a database call to get the desired records. AngularJS needs data in JSON format. Once the data is ready, $http can be used to get the data from server in the following … Read more
What is the use of AngularJS Tables ?
In AngularJS ng-repeat directive is perfect for displaying tables.
<div ng-app=”myApp” ng-controller=”usersCtrl”>
<table>
<tr ng-repeat=”x in names”>
<td>{{ x.userName }}</td>
<td>{{ x.userCountry }}</td>
</tr>
</table>
</div>
<script>
var app = angular.module(‘myApp’, []);
app.controller(‘usersCtrl’, function($scope, $http) {
$http.get(“http://www.yoursite.com/api/users.php”)
.success(function (response) {$scope.names = response.records;});
});
What is AngularJS API (Application Programming Interface) ?
The AngularJS Global API is a set of global JavaScript functions for performing common tasks like:
# Comparing an objects
# Iterating an objects
# Converting data
The Global API functions are accessed using the angular object.
Below is a list of some common API functions:
angular.uppercase() : It converts … Read more
FirePHP

FirePHP enables you to log to your Firebug Console using a simple PHP method call.
FirePHP is ideally suited for AJAX development where clean JSON or XML responses are required. All data is sent via response headers. This means that the debugging data will not interfere with the content on … Read more
phpLangEditor

phpLangEditor is a very handy Firefox add-on for translating language files and variables in your script. phplangeditor is a tool made to help php applications translators.
A lot of PHP applications are translated using one or many files of lang vars
It’s not really easy for a translator to work … Read more
PHing

PHing [Version Control System] Is Not GNU make; it’s a PHP project build system or build tool based on Apache Ant. You can do anything with it that you could do with a traditional build system like GNU make, and its use of simple XML build files and extensible PHP … Read more
PHP Object Generator (POG)

POG (PHP Object Generator) is an open source PHP code generator which automatically generates clean & tested Object Oriented code for your PHP4/PHP5 application. Over the years, we realized that a large portion of a PHP programmer’s time is wasted on repetitive coding of the Database Access Layer of an … Read more
PHPExcel

PHPExcel providing a set of classes for the PHP programming language, which allow you to write to and read from different spreadsheet file formats, like Excel (BIFF) .xls, Excel 2007 (OfficeOpenXML) .xlsx, CSV, Libre/OpenOffice Calc .ods, Gnumeric, PDF, HTML, … This project is built around Microsoft’s OpenXML standard and PHP.… Read more