<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
>

<channel>
	<title>angularjs - Bipon's Diary</title>
	<atom:link href="https://biponnotes.iglyphic.com/tag/angularjs/feed/" rel="self" type="application/rss+xml" />
	<link>https://biponnotes.iglyphic.com</link>
	<description>Do good for others. It will come back in unexpected ways.</description>
	<lastBuildDate>Mon, 16 Sep 2019 19:26:01 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.9.10</generator>
<site xmlns="com-wordpress:feed-additions:1">168324471</site>	<item>
		<title>Day 3 &#8211; Interpolation</title>
		<link>https://biponnotes.iglyphic.com/day-3-interpolation/</link>
					<comments>https://biponnotes.iglyphic.com/day-3-interpolation/#respond</comments>
		
		<dc:creator><![CDATA[bipon68]]></dc:creator>
		<pubDate>Mon, 16 Sep 2019 19:26:01 +0000</pubDate>
				<category><![CDATA[Angular]]></category>
		<category><![CDATA[angular]]></category>
		<category><![CDATA[angularcore]]></category>
		<category><![CDATA[angularjs]]></category>
		<guid isPermaLink="false">http://bipon.me/?p=24</guid>

					<description><![CDATA[<p>Interpolation:&#160; Interpolation is a way angular use to display variables inside your HTML using the curly braces. You can display variables, named. Name &#60;b&#62;name&#60;b&#62; using {{name}}&#160; You can bind the data from the class to the template Bind data using double curly bracket {{property_name}} → there is class property name here. Then showing dynamic value.&#160;&#8230;<a href="https://biponnotes.iglyphic.com/day-3-interpolation/" class="more-link">Continue reading <span class="screen-reader-text">Day 3 &#8211; Interpolation</span></a></p>
<p>The post <a href="https://biponnotes.iglyphic.com/day-3-interpolation/">Day 3 – Interpolation</a> first appeared on <a href="https://biponnotes.iglyphic.com">Bipon's Diary</a>.</p>]]></description>
										<content:encoded><![CDATA[<p><strong>Interpolation:&nbsp;</strong><br></p>



<p><strong>Interpolation is a way angular use to display variables inside your HTML using the curly braces. You can display variables, named. Name &lt;b&gt;name&lt;b&gt; using {{name}}&nbsp;</strong><br></p>



<p>You can bind the data from the class to the template</p>



<ol><li>Bind data using double curly bracket</li></ol>



<p>{{property_name}} → there is class property name here. Then showing dynamic value.&nbsp;</p>



<p>2. Using expression&nbsp;</p>



<p>&lt;h2&gt;{{2+2}}&lt;/h2&gt;&nbsp; → output: 4</p>



<p>3. Also concatenation + property name&nbsp;</p>



<p>concatenation: &lt;p&gt;{{&#8220;welcome &#8221; + name}}&lt;/p&gt;</p>



<p>&lt;p&gt;{{name.length}}&lt;/p&gt;</p>



<p>&lt;p&gt;{{name.toUpperCase()}}&lt;/p&gt;</p>



<p>4. Using method</p>



<p>&lt;p&gt;{{greetUser()}}&lt;/p&gt;<br></p>



<p>5. Alternate way&nbsp;</p>



<p>public siteUrl = window.location.href;</p>



<p>&lt;p&gt;{{siteUrl}}&lt;/p&gt;<br></p>



<p><strong>Not possible:</strong>&nbsp;<br></p>



<p>&lt;p&gt;{{a = 2+2}}&lt;/p&gt; (You can not assign the expression in a variable. So assignment is not possible in a variable)</p>



<p>&lt;p&gt;{{window.location.href}}&lt;/p&gt; (so template is not aware javascript global variable)</p>



<p></p><p>The post <a href="https://biponnotes.iglyphic.com/day-3-interpolation/">Day 3 – Interpolation</a> first appeared on <a href="https://biponnotes.iglyphic.com">Bipon's Diary</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://biponnotes.iglyphic.com/day-3-interpolation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">24</post-id>	</item>
		<item>
		<title>দিন ৩– ইন্টারপোলেশন</title>
		<link>https://biponnotes.iglyphic.com/%e0%a6%a6%e0%a6%bf%e0%a6%a8-%e0%a7%a9-%e0%a6%87%e0%a6%a8%e0%a7%8d%e0%a6%9f%e0%a6%be%e0%a6%b0%e0%a6%aa%e0%a7%8b%e0%a6%b2%e0%a7%87%e0%a6%b6%e0%a6%a8/</link>
					<comments>https://biponnotes.iglyphic.com/%e0%a6%a6%e0%a6%bf%e0%a6%a8-%e0%a7%a9-%e0%a6%87%e0%a6%a8%e0%a7%8d%e0%a6%9f%e0%a6%be%e0%a6%b0%e0%a6%aa%e0%a7%8b%e0%a6%b2%e0%a7%87%e0%a6%b6%e0%a6%a8/#respond</comments>
		
		<dc:creator><![CDATA[bipon68]]></dc:creator>
		<pubDate>Mon, 16 Sep 2019 19:23:53 +0000</pubDate>
				<category><![CDATA[অ্যাঙ্গুলার]]></category>
		<category><![CDATA[angular]]></category>
		<category><![CDATA[angularcore]]></category>
		<category><![CDATA[angularjs]]></category>
		<guid isPermaLink="false">http://bipon.me/?p=21</guid>

					<description><![CDATA[<p>ইন্টারপোলেশন (Interpolation):&#160; ইউজার টেমপ্লেট (template) এ ডাটা বাইন্ড করতে পারে ক্লাস (Class) থেকে &#8211;&#160;&#160; বাইন্ড ডাটা ডাবল কারলি ব্রাকেট ব্যবহার করে&#160; {{property_name}} → ডাবল কারলি ব্রাকেট এর মধ্যে ক্লাস প্রপার্টি নাম থাকবে । তাহলে ডাইনামিক ভ্যালু দেখাবে ।&#160; 2. ইউজিং সিনটেক্স &#60;h2&#62;{{2+2}}&#60;/h2&#62;&#160; → output: 4&#160; 3. স্ট্রিং কংক্যাটেনশন + প্রপার্টি নাম&#160;&#160; concatenation: &#60;p&#62;{{&#8220;welcome &#8221; +&#8230;<a href="https://biponnotes.iglyphic.com/%e0%a6%a6%e0%a6%bf%e0%a6%a8-%e0%a7%a9-%e0%a6%87%e0%a6%a8%e0%a7%8d%e0%a6%9f%e0%a6%be%e0%a6%b0%e0%a6%aa%e0%a7%8b%e0%a6%b2%e0%a7%87%e0%a6%b6%e0%a6%a8/" class="more-link">Continue reading <span class="screen-reader-text">দিন ৩– ইন্টারপোলেশন</span></a></p>
<p>The post <a href="https://biponnotes.iglyphic.com/%e0%a6%a6%e0%a6%bf%e0%a6%a8-%e0%a7%a9-%e0%a6%87%e0%a6%a8%e0%a7%8d%e0%a6%9f%e0%a6%be%e0%a6%b0%e0%a6%aa%e0%a7%8b%e0%a6%b2%e0%a7%87%e0%a6%b6%e0%a6%a8/">দিন ৩– ইন্টারপোলেশন</a> first appeared on <a href="https://biponnotes.iglyphic.com">Bipon's Diary</a>.</p>]]></description>
										<content:encoded><![CDATA[<p><strong>ইন্টারপোলেশন (Interpolation):&nbsp;</strong><br></p>



<p>ইউজার টেমপ্লেট (template) এ ডাটা বাইন্ড করতে পারে ক্লাস (Class) থেকে &#8211;&nbsp;&nbsp;</p>



<ol><li>বাইন্ড ডাটা ডাবল কারলি ব্রাকেট ব্যবহার করে&nbsp;</li></ol>



<p>{{property_name}} → ডাবল কারলি ব্রাকেট এর মধ্যে ক্লাস প্রপার্টি নাম থাকবে । তাহলে ডাইনামিক ভ্যালু দেখাবে ।&nbsp;</p>



<p>2. ইউজিং সিনটেক্স</p>



<p>&lt;h2&gt;{{2+2}}&lt;/h2&gt;&nbsp; → output: 4&nbsp;</p>



<p>3. স্ট্রিং কংক্যাটেনশন + প্রপার্টি নাম&nbsp;&nbsp;</p>



<p>concatenation: &lt;p&gt;{{&#8220;welcome &#8221; + name}}&lt;/p&gt;</p>



<p>&lt;p&gt;{{name.length}}&lt;/p&gt;</p>



<p>&lt;p&gt;{{name.toUpperCase()}}&lt;/p&gt;</p>



<p>4. ইউজিং মেথড&nbsp;</p>



<p>&lt;p&gt;{{greetUser()}}&lt;/p&gt;<br></p>



<p>কম্পোনেন্ট ফাইল</p>



<p>greetUser(){</p>



<p>Return “Hello ” + this.name;&nbsp;</p>



<p>}<br></p>



<p>5.অন্য ভাবে</p>



<p>public siteUrl = window.location.href;</p>



<p>&lt;p&gt;{{siteUrl}}&lt;/p&gt;<br></p>



<p><strong>Not possible:</strong>&nbsp;<br></p>



<p>&lt;p&gt;{{a = 2+2}}&lt;/p&gt; ভ্যারিয়েবল এ এক্সপ্রেশন এসাইন করা যাবে না । ব্রাউজার এর কনসোলে দেখাবে &#8211; Template parse error.&nbsp;</p>



<p>&lt;p&gt;{{window.location.href}}&lt;/p&gt; টেমপ্লেট&nbsp; জাভাস্ক্রিপ্ট গ্লোবাল ভ্যারিয়েবল বুঝে না । ব্রাউজার এর কনসোলে দেখাবে &#8211; location of undefined.&nbsp;<br></p>



<p><strong>possible:</strong></p>



<p>#&lt;p&gt;{{siteUrl}}&lt;/p&gt; (public siteUrl = window.location.href)</p>



<p></p>



<p></p><p>The post <a href="https://biponnotes.iglyphic.com/%e0%a6%a6%e0%a6%bf%e0%a6%a8-%e0%a7%a9-%e0%a6%87%e0%a6%a8%e0%a7%8d%e0%a6%9f%e0%a6%be%e0%a6%b0%e0%a6%aa%e0%a7%8b%e0%a6%b2%e0%a7%87%e0%a6%b6%e0%a6%a8/">দিন ৩– ইন্টারপোলেশন</a> first appeared on <a href="https://biponnotes.iglyphic.com">Bipon's Diary</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://biponnotes.iglyphic.com/%e0%a6%a6%e0%a6%bf%e0%a6%a8-%e0%a7%a9-%e0%a6%87%e0%a6%a8%e0%a7%8d%e0%a6%9f%e0%a6%be%e0%a6%b0%e0%a6%aa%e0%a7%8b%e0%a6%b2%e0%a7%87%e0%a6%b6%e0%a6%a8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">21</post-id>	</item>
		<item>
		<title>Day 1 &#8211; Basic Functioning</title>
		<link>https://biponnotes.iglyphic.com/day-1-basic-functioning/</link>
					<comments>https://biponnotes.iglyphic.com/day-1-basic-functioning/#respond</comments>
		
		<dc:creator><![CDATA[bipon68]]></dc:creator>
		<pubDate>Fri, 13 Sep 2019 19:53:14 +0000</pubDate>
				<category><![CDATA[Angular]]></category>
		<category><![CDATA[angular]]></category>
		<category><![CDATA[angularcore]]></category>
		<category><![CDATA[angularjs]]></category>
		<category><![CDATA[javascript]]></category>
		<guid isPermaLink="false">http://bipon.me/?p=13</guid>

					<description><![CDATA[<p># what and why ?&#160; Framework to build client side application Great for SPAs # Why Modular approach Re-usable code Development quicker and easier (like validation, routing) Unit testable and easily maintainable code Google + Microsoft product (Angular + Typescript) # Angular’s History 2010 &#8211; AngularJS 2016 &#8211; Angular version 2. Just called Angular 2016&#8230;<a href="https://biponnotes.iglyphic.com/day-1-basic-functioning/" class="more-link">Continue reading <span class="screen-reader-text">Day 1 &#8211; Basic Functioning</span></a></p>
<p>The post <a href="https://biponnotes.iglyphic.com/day-1-basic-functioning/">Day 1 – Basic Functioning</a> first appeared on <a href="https://biponnotes.iglyphic.com">Bipon's Diary</a>.</p>]]></description>
										<content:encoded><![CDATA[<p><strong># what and why ?&nbsp;</strong></p>



<p>Framework to build client side application</p>



<p>Great for SPAs<br></p>



<p><strong># Why</strong></p>



<p>Modular approach</p>



<p>Re-usable code</p>



<p>Development quicker and easier (like validation, routing)</p>



<p>Unit testable and easily maintainable code</p>



<p>Google + Microsoft product (Angular + Typescript)<br></p>



<p><strong># Angular’s History</strong></p>



<p>2010 &#8211; AngularJS</p>



<p>2016 &#8211; Angular version 2. Just called Angular</p>



<p>2016 Dec &#8211; Angular version 4</p>



<p>2017 Nov &#8211; Angular version 5</p>



<p>2018 Oct &#8211; Angular version 7</p>



<p></p>



<p><strong>Day1 &#8211; Basic Functioning&nbsp;</strong><br></p>



<p><strong>Prerequisites &#8211; to learn Angular</strong><br></p>



<ul><li>HTML, CSS, JS</li><li>Basic of Typescript</li></ul>



<p><strong>Development Environment:&nbsp;</strong></p>



<ul><li>Node &#8211; <a href="https://nodejs.org/en/">https://nodejs.org/en/</a></li><li>Node Version check &#8211; node -v</li><li>NPM (npm install -g. Check = npm -v)</li><li>Angular CLI (npm install -g @angular/cli)</li><li>CLI version check (ng -v)</li><li>Text Editor like VS Editor</li></ul>



<p>&nbsp;<strong>New project creation&nbsp;</strong></p>



<ul><li>Open your Git bash interface and then write bellow command&nbsp;</li></ul>



<ul><li>ng new project_name (ng new hello-world)&nbsp;</li></ul>



<p><strong>#way 2</strong></p>



<p>VS Editor</p>



<ul><li>View &gt;&gt; Integrated Terminal &gt;&gt; ng new hello-world</li><li>Going to project &#8211; cd hello-world</li><li>Run the project &#8211; ng serve</li><li>After compile successfully&nbsp;</li><li>Then going to browser localhost:4200</li></ul>



<p></p>



<p><strong>Module</strong></p>



<ul><li>First building block is a Module</li></ul>



<ul><li>Angular application is collection individual module</li><li>Angular must have on module <strong>Root Module</strong> &#8211; AppModule<ul><li>Module have two things</li><li>Component (Root component &#8211; AppComponent)</li><li>Service &#8211; Here have business logic</li></ul></li><li>Export and Import (interact and ultimately render the view in the browser)</li></ul>



<p>Component</p>



<ul><li>Angular must have on component Root component &#8211; AppComponent&nbsp;<ul><li>Component have two things</li><li>HTML Template (To represent the view)</li><li>Class (View logic &#8211; control the particular logic)</li></ul></li></ul>



<p>Service&nbsp;</p>



<ul><li>Module&nbsp;<ul><li>Service under Module&nbsp;</li><li>Service there write business logic of your application&nbsp;</li></ul></li></ul>



<p>Architecture Summary&nbsp;</p>



<ul><li>Angular app &#8211; one or more modules</li><li>Module &#8211; one or more components and services</li><li>Components &#8211; HTML (contain the html template) + Class (class control the logic for the particular view )</li><li>Service &#8211; Business Logic (contains the business logic)</li><li>Modules interact and ultimately render the view in the browser&nbsp;</li></ul>



<p>Package.json</p>



<ul><li>This file contains the dependency &amp; the dev dependency that are required for angular application&nbsp;</li><li>Project run &#8211; ng serve or npm start (npm start means internally call ng serve)</li></ul>



<p>Main.ts&nbsp;</p>



<ul><li>This is the entry point to the application&nbsp;</li><li>If run the ng serve command then application come to main.ts file then bootstrap and kickstart appModule → bootstrap appComponent. And appComponent (have two things HTML template + class (contains the data for particular view logic)</li><li>) and render the HTML.&nbsp; Initially class have title property sync/bound with component html by interpolation. Also other html is static&nbsp;</li></ul>



<p>App.module.ts:&nbsp;</p>



<ul><li>This is the main module for any angular application. Also app.component.ts file is the root component of angular application&nbsp;</li></ul>



<p>Operation flow:&nbsp;</p>



<ul><li>When we run the command ng serve into git bash then execution comes to <strong>main.ts</strong> file . then goes to <strong>app.module.ts</strong> file. then <strong>bootstrap: [AppComponent]</strong>&nbsp;</li><li>Then goes to <strong>app.component</strong>&nbsp;</li><li>Then data property title gets render in the <strong>app.component.html&nbsp;</strong></li><li>&nbsp;AppComponent have two things<ul><li>Html file</li><li>Component &#8211; (contain class &gt;&nbsp; to control the view logic)</li></ul></li></ul><p>The post <a href="https://biponnotes.iglyphic.com/day-1-basic-functioning/">Day 1 – Basic Functioning</a> first appeared on <a href="https://biponnotes.iglyphic.com">Bipon's Diary</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://biponnotes.iglyphic.com/day-1-basic-functioning/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">13</post-id>	</item>
	</channel>
</rss>
