<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ajayi Oluwafemi Adeyinka</title>
    <description>The latest articles on DEV Community by Ajayi Oluwafemi Adeyinka (@femithz).</description>
    <link>https://dev.to/femithz</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F463269%2F84eb47fc-746f-4b62-9ad9-490b97896141.jpeg</url>
      <title>DEV Community: Ajayi Oluwafemi Adeyinka</title>
      <link>https://dev.to/femithz</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/femithz"/>
    <language>en</language>
    <item>
      <title>How To Deploy Your Node.js Application On AWS Using GitHub.</title>
      <dc:creator>Ajayi Oluwafemi Adeyinka</dc:creator>
      <pubDate>Sat, 06 Mar 2021 15:58:13 +0000</pubDate>
      <link>https://dev.to/femithz/how-to-deploy-your-node-js-application-on-aws-using-github-5b6c</link>
      <guid>https://dev.to/femithz/how-to-deploy-your-node-js-application-on-aws-using-github-5b6c</guid>
      <description>&lt;p&gt;Good Day friends, nice having you here.&lt;/p&gt;

&lt;p&gt;If you have been trying to figure out how to deploy your NodeJS application on Aws using GitHub, reading through this note would be a work-through for you.&lt;/p&gt;

&lt;p&gt;So let's get started.&lt;/p&gt;

&lt;p&gt;Prerequisites:&lt;br&gt;
Make sure you have a GitHub account and a Git installed on your machine.&lt;br&gt;
Make sure you have an AWS account setup.&lt;/p&gt;

&lt;p&gt;Getting started&lt;/p&gt;

&lt;p&gt;Firstly let's get started by pushing or app to Github&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdsjtw2h8moibpj2l0cby.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdsjtw2h8moibpj2l0cby.PNG" alt="Alt Text" width="800" height="525"&gt;&lt;/a&gt;&lt;br&gt;
yea I have my repo created and the code has been pushed.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4coe5qrwhctvt7ed8jir.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4coe5qrwhctvt7ed8jir.PNG" alt="Alt Text" width="800" height="390"&gt;&lt;/a&gt; &lt;br&gt;
so finally you have your app push to GitHub now, Awesome we are moving gradually.&lt;/p&gt;

&lt;p&gt;Let's proceed to our Aws account to set up the needed services need to have our app up and running.&lt;/p&gt;

&lt;p&gt;My dashboard view below&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F73cilthrt1gn4cmopgkf.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F73cilthrt1gn4cmopgkf.PNG" alt="Alt Text" width="800" height="465"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;so let's dive into the services to set up a basic Nodejs app up and running.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyvbf5nbr3tg84b4g45rc.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fyvbf5nbr3tg84b4g45rc.PNG" alt="Alt Text" width="800" height="441"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After taking a look at the different services available let's dive straight to the one we needed.&lt;/p&gt;

&lt;p&gt;First Service (CodePipeline), What is a code pipeline?&lt;/p&gt;

&lt;p&gt;AWS CodePipeline is a fully managed continuous delivery service that helps you automate your release pipelines for fast and reliable application and infrastructure updates. ... You can easily integrate AWS CodePipeline with third-party services such as GitHub, which is what we would be using GitHub.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwy65e9cqbzk5kq2pgckq.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwy65e9cqbzk5kq2pgckq.PNG" alt="Alt Text" width="800" height="223"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So we need to go further by creating a pipeline that handles getting updates from our repo push to Github.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsgdsrb3sn16wgnud70kc.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fsgdsrb3sn16wgnud70kc.PNG" alt="Alt Text" width="800" height="475"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5datmkaj1uieaidibs7h.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5datmkaj1uieaidibs7h.PNG" alt="Alt Text" width="800" height="423"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foamq4rm6phbul618tgau.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foamq4rm6phbul618tgau.PNG" alt="Alt Text" width="800" height="455"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The image above clicks on connect to Github button which automatically pops up a modal for you to authorize the accessing of your repo and when this is done successfully you should have the outcome below.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnqps52fnh4f65rm33ng5.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnqps52fnh4f65rm33ng5.PNG" alt="Alt Text" width="800" height="445"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;From here search for the repo you want to deploy and add it up alongside the branch.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F76yjcw8stvp2qwdbmzk4.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F76yjcw8stvp2qwdbmzk4.PNG" alt="Alt Text" width="800" height="201"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can decide to choose the build stage if you want to spice up your pipeline with some more configuration which won't be included in this note now, just click on the skip build stage button.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0ywmgp1xof54bh2r6z8c.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0ywmgp1xof54bh2r6z8c.PNG" alt="Alt Text" width="800" height="430"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So the next is for us to choose the provider we would be using to host our app,  there are a variety of provider listed but we would be using Elastic Beanstalk&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1cdo2tit006a2n3hkert.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1cdo2tit006a2n3hkert.PNG" alt="Alt Text" width="800" height="418"&gt;&lt;/a&gt;&lt;br&gt;
After selecting Elastic Beanstalk you would be asked to put in the application name which in your case as a first timer in deploying to AWS you would have no application name suggested for you.&lt;/p&gt;

&lt;p&gt;So click on the services dropdown to get to see the list of services, go on by opening Elastic BeanStalk in a new tab.&lt;/p&gt;

&lt;p&gt;So to create a new application navigate to applications on the sidebar, so you can go further by clicking on create new application button.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F36ow60m7pxykju0j2ubb.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F36ow60m7pxykju0j2ubb.PNG" alt="Alt Text" width="800" height="177"&gt;&lt;/a&gt;&lt;br&gt;
 After you have your app created you would be redirected to create an environment.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffqiy1g5hskmj0wkzq5eu.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffqiy1g5hskmj0wkzq5eu.PNG" alt="Alt Text" width="800" height="271"&gt;&lt;/a&gt;&lt;br&gt;
Go further to create an environment and select web server as the option.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7mxlk3glx0dyw0tcjasq.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7mxlk3glx0dyw0tcjasq.PNG" alt="Alt Text" width="800" height="330"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So now that you have your Application created and environment name generated go back to your abandoned tab to put in the info that is required of you is "application and the environment name"&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flmevnecooapuxigxkz6x.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Flmevnecooapuxigxkz6x.PNG" alt="Alt Text" width="800" height="420"&gt;&lt;/a&gt;&lt;br&gt;
So you can create your pipeline now, by just clicking create a pipeline.&lt;/p&gt;

&lt;p&gt;--- Then we can go back to complete our Environment setup on the other tab.&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7amvrlp8ysv26170j2nf.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7amvrlp8ysv26170j2nf.PNG" alt="Alt Text" width="800" height="398"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4qjghvdvbz7ybrb0aoli.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4qjghvdvbz7ybrb0aoli.PNG" alt="Alt Text" width="800" height="355"&gt;&lt;/a&gt;&lt;br&gt;
So you need to select a platform which is Nodejs, after you have done that you can click on create environment button.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0xu5tohctdm9sfgk5o72.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F0xu5tohctdm9sfgk5o72.PNG" alt="Alt Text" width="800" height="328"&gt;&lt;/a&gt;&lt;br&gt;
The image above would take some time to finally create the environment.&lt;br&gt;
Finally, you have your environment created below image-&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftcsa4t6wdafepkawhelh.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftcsa4t6wdafepkawhelh.PNG" alt="Alt Text" width="800" height="336"&gt;&lt;/a&gt;&lt;br&gt;
The image below shows a successful pipeline created&lt;br&gt;
&lt;a href="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgdwsj9najvf3gbbr7f5c.PNG" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/cdn-cgi/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgdwsj9najvf3gbbr7f5c.PNG" alt="Alt Text" width="800" height="455"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hope this helps. Please share your valuable feedback.&lt;/p&gt;

&lt;p&gt;That's it!!! I hope you had fun reading and learning from the not to continue the conversation you can follow me on Twitter: &lt;a href="https://twitter.com/femithz"&gt;https://twitter.com/femithz&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Gracias!!!&lt;/p&gt;

</description>
      <category>aws</category>
      <category>node</category>
      <category>github</category>
      <category>devops</category>
    </item>
    <item>
      <title>How to work with Dynamic ion-segment in ionic with active class.</title>
      <dc:creator>Ajayi Oluwafemi Adeyinka</dc:creator>
      <pubDate>Mon, 25 Jan 2021 06:00:02 +0000</pubDate>
      <link>https://dev.to/femithz/how-to-work-with-dynamic-ion-segment-in-ionic-with-active-class-4f1c</link>
      <guid>https://dev.to/femithz/how-to-work-with-dynamic-ion-segment-in-ionic-with-active-class-4f1c</guid>
      <description>&lt;p&gt;What is ion-segment or segment?&lt;/p&gt;

&lt;p&gt;Segments are a collection of related buttons displayed in a horizontal row. It can be placed inside of a toolbar or the main content. The functionality of the Ionic segment is the same as Ionic tabs, where you select the one tab that will deselect all other tabs.&lt;/p&gt;

&lt;p&gt;So let's dive straight to coding guys.&lt;/p&gt;

&lt;p&gt;Come to think of scenarios where you have a list of objects in an array coming from the server-side of your application and you want to be able to loop them on a segment in an ionic app, that seems hard right?&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F9be4pnt7tjjhi1o7kus6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F9be4pnt7tjjhi1o7kus6.png" alt="carbon"&gt;&lt;/a&gt;&lt;br&gt;
Like what we have an array of objects.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fgtd3uwlbclbl095qfxwn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fgtd3uwlbclbl095qfxwn.png" alt="carbon"&gt;&lt;/a&gt;&lt;br&gt;
the other image above subcribe to an endpoint get that returns an array of objects also.&lt;/p&gt;

&lt;p&gt;With above image i hope you have been able to have your array assigned to a variable.&lt;/p&gt;

&lt;p&gt;Let's move further to the HTML Part.&lt;br&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fcfpwnv4vsxrsi5eig2xi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fcfpwnv4vsxrsi5eig2xi.png" alt="carbon-3"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We would break the above codes down into pieces. we go by looping out what we have in our sub_categories array, then we bind every of the select button value to an ngModel name category, Note we have a click event function called, selectTab.&lt;/p&gt;

&lt;p&gt;Hope the process is getting more simpler? which i believe your answer to that is yes.&lt;/p&gt;

&lt;p&gt;We have to find a way to display the detail of the specific segment button clicked.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F2qzn0cx17zs3nxgiiljf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F2qzn0cx17zs3nxgiiljf.png" alt="carbon-5"&gt;&lt;/a&gt;&lt;br&gt;
you have the above code to target each selected segment button display there data when selected.&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fcbkytj2lmp7kqd0khm2t.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fcbkytj2lmp7kqd0khm2t.png" alt="carbon-6"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Thanks for Reading!&lt;br&gt;
What do you think of this post? I feel like I had to write about it. Leave comment below and I'll get back to everyone!&lt;/p&gt;

&lt;p&gt;See you in the next one ✌  &lt;/p&gt;

&lt;p&gt;You can follow me on Twitter &lt;a href="https://twitter.com/femithz" rel="noopener noreferrer"&gt;https://twitter.com/femithz&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ionic</category>
      <category>angular</category>
      <category>typescript</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
