Introduction In this article I will tell you how to do sorting using AngularJS. Angular provides the feature named orderBy that can be used to sort the given data. Here I will create an application where sorting will be applied on multiple columns. Step 1 First of all you need to add an external Angular.js file toContinue reading “Apply Sorting Using AngularJS”
Category Archives: Uncategorized
OnInit Interfaces In Angular
Introduction In this article, we are going to see what is ngOninit() method, when and why to use ngOnInit() method. Prerequisites HTML, CSS, and JS Basics of TypeScript. As a best practice we should have a constructor of very small and light weight. We should not perform expensive operations like calling of server. Then when can weContinue reading “OnInit Interfaces In Angular”
How to Create Array of Objects in Java
What Is An Array Of Objects? JAVA ARRAY OF OBJECT, as defined by its name, store an array of objects. Unlike a traditional array that store values like string, integer, Boolean, etc an array of objects stores OBJECTS. The array elements store the location of the reference variables of the object. To get in-Depth knowledge onContinue reading “How to Create Array of Objects in Java”
What is Java library
A Java library is a byte code based on virtual-machine. It helps to encode the classes within the library. Here, a library is a collection of different classes. Java Class Library is a pack of dynamic libraries that are loadable at the time of running Java applications. There are many different and some important collectionContinue reading “What is Java library”
What is new in MicroStrategy 10.11?
MicroStrategy is a leading global provider of enterprise analytics and mobility software. Recently it has announced the general availability of MicroStrategy 10.11. Moreover, the company’s newest MicroStrategy 10 TM features release. This feature release continues to add strength to the MicroStrategy 10. Thus, this product line includes enhanced mapping with Map box. Moreover, it isContinue reading “What is new in MicroStrategy 10.11?”
@ViewChild In Angular
@ViewChild In Angular, if we want to access the template information; i.e, any element from the html file in the ts file or in our component the we can choose the @viewchild concept. By using @viewchild we can achieve the following things, Accessing template of same component Accessing the template of child component Syntax of creatingContinue reading “@ViewChild In Angular”
Why do we need Resolver?
Suppose you are building an awesome app where you load fetch, update, insert, and delete data from backend off course through the API services. Many times, we need to pass the data between two routes, or it may be the case that our ‘Y’ component needs data that is loaded by the ‘X’ component. InContinue reading “Why do we need Resolver?”
Angle Bracket in Java with Examples
Angle Bracket in Java is used to define Generics. It means that the angle bracket takes a generic type, say T, in the definition and any class as a parameter during the calling. The idea is to allow type (Integer, String, … etc and user-defined types) to be a parameter to methods, classes, and interfaces.Continue reading “Angle Bracket in Java with Examples”
Java – Generics
It would be nice if we could write a single sort method that could sort the elements in an Integer array, a String array, or an array of any type that supports ordering. Java Generic methods and generic classes enable programmers to specify, with a single method declaration, a set of related methods, or with a singleContinue reading “Java – Generics”
Use Of Event Emitter
Event Emitter Event-emitter is imported from the “@anguar/core” package. It is used in directives and components to emit custom events synchronously or asynchronously and register handlers for those events by subscribing to an instance. So to use this feature we will create 2 components, UserList Component (Child) User Component(Parent) In User Component we will have oneContinue reading “Use Of Event Emitter”